Merge pull request #33 from mschilder/patch-3

Update Blog.php - RSS Constructor parameter ordering.
This commit is contained in:
Michael Strong 2014-09-30 13:09:02 +13:00
commit cceb1d7e3a

View File

@ -271,7 +271,7 @@ class Blog_Controller extends Page_Controller {
* @return string HTML * @return string HTML
**/ **/
public function rss() { 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(); return $rss->outputToBrowser();
} }