forked from GNUsocial/gnu-social
Array needs initializing before it's returned. How did this code ever work?
darcs-hash:20081211022557-7b5ce-8040947f258db638bd68fe2620381b3c078a4c31.gz
This commit is contained in:
parent
06f99d4b55
commit
466e8d1ed1
@ -45,6 +45,8 @@ class FavoritesrssAction extends Rss10Action {
|
||||
|
||||
$notice = $user->favoriteNotices(0, $limit);
|
||||
|
||||
$notices = array();
|
||||
|
||||
while ($notice->fetch()) {
|
||||
$notices[] = clone($notice);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user