summaryrefslogtreecommitdiff
path: root/modules/comment/helpers/comment_rss.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/comment/helpers/comment_rss.php')
-rw-r--r--modules/comment/helpers/comment_rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php
index d0bb7859..77044884 100644
--- a/modules/comment/helpers/comment_rss.php
+++ b/modules/comment/helpers/comment_rss.php
@@ -35,11 +35,11 @@ class comment_rss_Core {
$comments = ORM::factory("comment")
->viewable()
- ->where("state", "published")
+ ->where("state", "=", "published")
->order_by("created", "DESC");
if ($feed_id == "item") {
- $comments->where("item_id", $id);
+ $comments->where("item_id", "=", $id);
}
$feed->view = "comment.mrss";