From 2cbb67c21e77e76a4faa73532751bf2eb8dd44a9 Mon Sep 17 00:00:00 2001 From: Adrian Lang Date: Sat, 7 Mar 2009 23:38:42 +0100 Subject: [PATCH] Define undefined variable. --- actions/userrss.php | 1 + 1 file changed, 1 insertion(+) diff --git a/actions/userrss.php b/actions/userrss.php index a3e5a3aab7..d3bf352d8d 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); } -- 2.39.5