From 69603ede7a0d7567f37025eee713975282122d13 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Mon, 29 Dec 2008 21:09:44 +0000 Subject: Implemented bharat's suggestions to the comment module in preparation for the spam_filter module --- modules/comment/helpers/comment_block.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/comment/helpers/comment_block.php') diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php index 9231dcd6..ce748036 100644 --- a/modules/comment/helpers/comment_block.php +++ b/modules/comment/helpers/comment_block.php @@ -32,7 +32,7 @@ class comment_block_Core { $view = new View("comments.html"); $view->comments = ORM::factory("comment") ->where("item_id", $theme->item()->id) - ->where("visible", 1) + ->where("published", 1) ->orderby("created", "ASC") ->find_all(); -- cgit v1.2.3