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