mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Merge pull request #60 from cam-findlay/patch-1
FIX Update to RSSFeed SS3 API.
This commit is contained in:
commit
2cb9414b5a
@ -303,7 +303,7 @@ class BlogTree_Controller extends Page_Controller {
|
|||||||
|
|
||||||
if($entries) {
|
if($entries) {
|
||||||
$rss = new RSSFeed($entries, $this->Link('rss'), ($blogName ? $blogName : $altBlogName), "", "Title", "RSSContent");
|
$rss = new RSSFeed($entries, $this->Link('rss'), ($blogName ? $blogName : $altBlogName), "", "Title", "RSSContent");
|
||||||
$rss->outputToBrowser();
|
return $rss->outputToBrowser();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user