summaryrefslogtreecommitdiff
path: root/actions/allrss.php
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-07 02:19:18 +0100
committerAdrian Lang <mail@adrianlang.de>2009-03-08 17:06:18 +0100
commit4c8c9bb9dfe962e0d34f1acb2df20ddd2728920c (patch)
tree781a517b42d8aa4009ec1d0653bc54f0bd5278ea /actions/allrss.php
parente8e40439961160989c32e1cd661ecce94b75fcee (diff)
Define undefined variable.
Diffstat (limited to 'actions/allrss.php')
-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);