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
@ -40,11 +40,13 @@ class FavoritesrssAction extends Rss10Action {
|
||||
}
|
||||
|
||||
function get_notices($limit=0) {
|
||||
|
||||
|
||||
$user = $this->user;
|
||||
|
||||
|
||||
$notice = $user->favoriteNotices(0, $limit);
|
||||
|
||||
|
||||
$notices = array();
|
||||
|
||||
while ($notice->fetch()) {
|
||||
$notices[] = clone($notice);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user