From: Adrian Lang Date: Sat, 7 Mar 2009 01:19:18 +0000 (+0100) Subject: Define undefined variable. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4c8c9bb9dfe962e0d34f1acb2df20ddd2728920c;p=quix0rs-gnu-social.git Define undefined variable. --- 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);