removes php warnings
This commit is contained in:
parent
afd4fb3b07
commit
461a1844bc
|
@ -87,6 +87,8 @@ class ApiQvitterNotificationsAction extends ApiPrivateAuthAction
|
||||||
|
|
||||||
$notifications_populated = array();
|
$notifications_populated = array();
|
||||||
|
|
||||||
|
if(!empty($this->notifications)) {
|
||||||
|
|
||||||
foreach($this->notifications as $notification) {
|
foreach($this->notifications as $notification) {
|
||||||
|
|
||||||
// all but follow has an notice
|
// all but follow has an notice
|
||||||
|
@ -112,6 +114,8 @@ class ApiQvitterNotificationsAction extends ApiPrivateAuthAction
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
$this->initDocument('json');
|
$this->initDocument('json');
|
||||||
$this->showJsonObjects($notifications_populated);
|
$this->showJsonObjects($notifications_populated);
|
||||||
$this->endDocument('json');
|
$this->endDocument('json');
|
||||||
|
|
Loading…
Reference in New Issue
Block a user