mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
Fixed authors breaking rss feeds
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39611 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
19b3420722
commit
3e5a0968ae
@ -132,7 +132,7 @@ class PageComment extends DataObject {
|
||||
}
|
||||
|
||||
function RSSTitle() {
|
||||
return "Comment by '$this->Name' on " . $this->Parent()->Title;
|
||||
return "Comment by '". Convert::raw2xml($this->Name) . "' on " . $this->Parent()->Title;
|
||||
}
|
||||
function rss() {
|
||||
$rss = new RSSFeed(DataObject::get("PageComment", "ParentID > 0", "Created DESC", "", 10), "home/", "Page comments", "", "RSSTitle", "Comment", "Name");
|
||||
|
Loading…
Reference in New Issue
Block a user