Define undefined variable.

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

View File

@ -83,6 +83,7 @@ class AllrssAction extends Rss10Action
{ {
$user = $this->user; $user = $this->user;
$notice = $user->noticesWithFriends(0, $limit); $notice = $user->noticesWithFriends(0, $limit);
$notices = array();
while ($notice->fetch()) { while ($notice->fetch()) {
$notices[] = clone($notice); $notices[] = clone($notice);