diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-06-20 17:21:25 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-06-20 17:21:25 -0700 |
commit | 74e821b03ef149a43eb8704fd2350985699d3ded (patch) | |
tree | 71239f4c4d00f77a9e9a103218e84f06af31f8cc /modules/comment/helpers | |
parent | 261da7b1c362fe329fe97ca8478a0c6b3721dedf (diff) |
Rename the feed variable from "children" to "comments" since that
makes more semantic sense.
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_rss.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/helpers/comment_rss.php b/modules/comment/helpers/comment_rss.php index 545192e5..26d98d21 100644 --- a/modules/comment/helpers/comment_rss.php +++ b/modules/comment/helpers/comment_rss.php @@ -47,10 +47,10 @@ class comment_rss_Core { $feed = new stdClass(); $feed->view = "comment.mrss"; - $feed->children = array(); + $feed->comments = array(); foreach ($comments->find_all($limit, $offset) as $comment) { $item = $comment->item(); - $feed->children[] = new ArrayObject( + $feed->comments[] = new ArrayObject( array("pub_date" => date("D, d M Y H:i:s T", $comment->created), "text" => nl2br(html::purify($comment->text)), "thumb_url" => $item->thumb_url(), |