From 7e29022f1a3f7726ca69b2ddbfd9606c12e7d3ff Mon Sep 17 00:00:00 2001 From: Andrew O'Neil Date: Sun, 4 Nov 2007 21:46:36 +0000 Subject: [PATCH] Fixed empty comments showing in Comment Admin (merged from 2.1.1 branch, r43602) git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@44211 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CommentAdmin.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index 608daa4f..42913f42 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -45,6 +45,8 @@ class CommentAdmin extends LeftAndMain { $title = "

Spam

"; } + $filter .= ' AND ParentID>0'; + $tableFields = array( "Name" => "Author", "Comment" => "Comment",