]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Define undefined variable.
authorAdrian Lang <mail@adrianlang.de>
Sat, 7 Mar 2009 01:19:18 +0000 (02:19 +0100)
committerAdrian Lang <mail@adrianlang.de>
Sun, 8 Mar 2009 16:06:18 +0000 (17:06 +0100)
actions/allrss.php

index 0114c43962ad312075337ef347010fada0c25a1b..45f3946a61cfda010765ae3b54ca94360dc4d0a7 100644 (file)
@@ -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);