diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-29 21:09:44 +0000 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-29 21:09:44 +0000 |
| commit | 69603ede7a0d7567f37025eee713975282122d13 (patch) | |
| tree | 1d270e63199faac57a7f2cbd939da04eb64576e6 /modules/comment/helpers/comment_block.php | |
| parent | 2bfddc4c87443640098387630967f6d141a9fce6 (diff) | |
Implemented bharat's suggestions to the comment module in preparation for the spam_filter module
Diffstat (limited to 'modules/comment/helpers/comment_block.php')
| -rw-r--r-- | modules/comment/helpers/comment_block.php | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |
