Update Blog.php

Switch Title and Description for creation of RSS Feed (order was wrong).
This commit is contained in:
mschilder 2014-09-29 10:47:23 +02:00
parent f9b71d59e6
commit 285eeba49c

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();
} }
@ -419,4 +419,4 @@ class Blog_Controller extends Page_Controller {
return $this->Link("rss"); return $this->Link("rss");
} }
} }