summaryrefslogtreecommitdiff
path: root/modules/comment/helpers
diff options
context:
space:
mode:
authorChad Kieffer <ckieffer@gmail.com>2009-09-01 23:22:44 -0600
committerChad Kieffer <ckieffer@gmail.com>2009-09-01 23:22:44 -0600
commitadc7f39f7d1b3cedb0a353b3048e95479df553b0 (patch)
tree503e18f2525b64aa7934005c812ec8427c979a3d /modules/comment/helpers
parentbc147d1c6c95c1ba1394f0198d9e5b810071a4ac (diff)
parentd26f9147a000ed907695b5fa593ee9c1d9b3354d (diff)
Merge branch 'master' of git@github.com:gallery/gallery3
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r--modules/comment/helpers/comment_rss.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php
index b539887b..4424981d 100644
--- a/modules/comment/helpers/comment_rss.php
+++ b/modules/comment/helpers/comment_rss.php
@@ -42,10 +42,9 @@ class comment_rss_Core {
$comments->where("item_id", $id);
}
- $comments = $comments->find_all($limit, $offset);
$feed->view = "comment.mrss";
$feed->children = array();
- foreach ($comments as $comment) {
+ foreach ($comments->find_all($limit, $offset) as $comment) {
$item = $comment->item();
$feed->children[] = new ArrayObject(
array("pub_date" => date("D, d M Y H:i:s T", $comment->created),