Define undefined variable.

This commit is contained in:
Adrian Lang 2009-03-07 02:19:18 +01:00
parent e8e4043996
commit 4c8c9bb9df

View 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);