mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
MINOR: Fix RSS validator warning. Thanks to tim.
This commit is contained in:
parent
db45cb9b49
commit
8ccd23db5a
@ -278,7 +278,7 @@ class BlogTree_Controller extends Page_Controller {
|
||||
$entries = $this->Entries(20);
|
||||
|
||||
if($entries) {
|
||||
$rss = new RSSFeed($entries, $this->Link(), ($blogName ? $blogName : $altBlogName), "", "Title", "RSSContent");
|
||||
$rss = new RSSFeed($entries, $this->Link('rss'), ($blogName ? $blogName : $altBlogName), "", "Title", "RSSContent");
|
||||
$rss->outputToBrowser();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user