From 4c8c9bb9dfe962e0d34f1acb2df20ddd2728920c Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Sat, 7 Mar 2009 02:19:18 +0100 Subject: [PATCH] Define undefined variable. --- actions/allrss.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/actions/allrss.php b/actions/allrss.php index 0114c43962..45f3946a61 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);