Array needs initializing before it's returned. How did this code ever work?

darcs-hash:20081211022557-7b5ce-8040947f258db638bd68fe2620381b3c078a4c31.gz
This commit is contained in:
Zach Copley 2008-12-10 21:25:57 -05:00
parent 06f99d4b55
commit 466e8d1ed1

View File

@ -45,6 +45,8 @@ class FavoritesrssAction extends Rss10Action {
$notice = $user->favoriteNotices(0, $limit);
$notices = array();
while ($notice->fetch()) {
$notices[] = clone($notice);
}