Merge pull request #268 from creative-commoners/pulls/3.1/fix-rss-comments-on-page

FIX RSS feed for comments now render correctly
This commit is contained in:
Dylan Wagstaff 2018-11-28 14:35:48 +13:00 committed by GitHub
commit d7761290f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -441,7 +441,7 @@ class CommentsExtension extends DataExtension
{
return Controller::join_links(
$this->getCommentRSSLink(),
str_replace('\\', '-', $this->owner->baseClass()),
str_replace('\\', '-', get_class($this->owner)),
$this->owner->ID
);
}