diff --git a/code/extensions/CommentsExtension.php b/code/extensions/CommentsExtension.php index 2a01c28..e2bdb5f 100644 --- a/code/extensions/CommentsExtension.php +++ b/code/extensions/CommentsExtension.php @@ -123,6 +123,7 @@ class CommentsExtension extends DataExtension { 'RssLink' => "CommentingController/rss", 'RssLinkPage' => "CommentingController/rss/". $this->ownerBaseClass . '/'.$this->owner->ID, 'CommentsEnabled' => $enabled, + 'Parent' => $this->owner, 'AddCommentForm' => $form, 'ModeratedSubmitted' => $moderatedSubmitted, 'Comments' => $this->Comments()