summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Lang <mail@adrianlang.de>2009-03-07 23:38:42 +0100
committerAdrian Lang <mail@adrianlang.de>2009-03-11 10:40:24 +0100
commit2cbb67c21e77e76a4faa73532751bf2eb8dd44a9 (patch)
tree0fd49d0b20385649f46d2b3df0ff01968f70aaba
parent048bc770777f325aea76315f44afedb2daf90f76 (diff)
Define undefined variable.
-rw-r--r--actions/userrss.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/actions/userrss.php b/actions/userrss.php
index a3e5a3aab..d3bf352d8 100644
--- a/actions/userrss.php
+++ b/actions/userrss.php
@@ -53,6 +53,7 @@ class UserrssAction extends Rss10Action
$notice = $user->getNotices(0, ($limit == 0) ? NOTICES_PER_PAGE : $limit);
+ $notices = array();
while ($notice->fetch()) {
$notices[] = clone($notice);
}