forked from GNUsocial/gnu-social
Define undefined variable.
This commit is contained in:
parent
e8e4043996
commit
4c8c9bb9df
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user