summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_block.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers/comment_block.php')
-rw-r--r--modules/comment/helpers/comment_block.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php
index 7d132646..9231dcd6 100644
--- a/modules/comment/helpers/comment_block.php
+++ b/modules/comment/helpers/comment_block.php
@@ -32,6 +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)
->orderby("created", "ASC")
->find_all();