summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--actions/allrss.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/actions/allrss.php b/actions/allrss.php
index 0114c4396..45f3946a6 100644
--- a/actions/allrss.php
+++ b/actions/allrss.php
@@ -81,8 +81,9 @@ class AllrssAction extends Rss10Action
*/
function getNotices($limit=0)
{
- $user = $this->user;
- $notice = $user->noticesWithFriends(0, $limit);
+ $user = $this->user;
+ $notice = $user->noticesWithFriends(0, $limit);
+ $notices = array();
while ($notice->fetch()) {
$notices[] = clone($notice);