diff options
author | Adrian Lang <mail@adrianlang.de> | 2009-03-07 02:19:18 +0100 |
---|---|---|
committer | Adrian Lang <mail@adrianlang.de> | 2009-03-08 17:06:18 +0100 |
commit | 4c8c9bb9dfe962e0d34f1acb2df20ddd2728920c (patch) | |
tree | 781a517b42d8aa4009ec1d0653bc54f0bd5278ea | |
parent | e8e40439961160989c32e1cd661ecce94b75fcee (diff) |
Define undefined variable.
-rw-r--r-- | actions/allrss.php | 5 |
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); |