mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Update Blog.php
Switch Title and Description for creation of RSS Feed (order was wrong).
This commit is contained in:
parent
f9b71d59e6
commit
285eeba49c
@ -271,7 +271,7 @@ class Blog_Controller extends Page_Controller {
|
||||
* @return string HTML
|
||||
**/
|
||||
public function rss() {
|
||||
$rss = new RSSFeed($this->getBlogPosts(), $this->Link(), $this->MetaDescription, $this->MetaTitle);
|
||||
$rss = new RSSFeed($this->getBlogPosts(), $this->Link(), $this->MetaTitle, $this->MetaDescription);
|
||||
return $rss->outputToBrowser();
|
||||
}
|
||||
|
||||
@ -419,4 +419,4 @@ class Blog_Controller extends Page_Controller {
|
||||
return $this->Link("rss");
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user