From 285eeba49c5398f6c97b7071a2c794c0fd7a1977 Mon Sep 17 00:00:00 2001 From: mschilder Date: Mon, 29 Sep 2014 10:47:23 +0200 Subject: [PATCH] Update Blog.php Switch Title and Description for creation of RSS Feed (order was wrong). --- model/Blog.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/model/Blog.php b/model/Blog.php index 095e235..3fee3a9 100755 --- a/model/Blog.php +++ b/model/Blog.php @@ -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"); } -} \ No newline at end of file +}