mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
Update code/BlogTree.php
BUGFIX missing return for rss feeds
This commit is contained in:
parent
289940b7e7
commit
e441b4e690
@ -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…
x
Reference in New Issue
Block a user