mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #33 from mschilder/patch-3
Update Blog.php - RSS Constructor parameter ordering.
This commit is contained in:
commit
cceb1d7e3a
@ -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