removes php warning
This commit is contained in:
parent
d8463dc019
commit
f88be7bf6f
|
@ -794,6 +794,7 @@ class QvitterPlugin extends Plugin {
|
||||||
$notification->whereAdd("(notice_id != 'NULL')"); // sometimes notice_id is NULL, those notifications are corrupt and should be discarded
|
$notification->whereAdd("(notice_id != 'NULL')"); // sometimes notice_id is NULL, those notifications are corrupt and should be discarded
|
||||||
$notification->find();
|
$notification->find();
|
||||||
|
|
||||||
|
$new_notifications = array();
|
||||||
while ($notification->fetch()) {
|
while ($notification->fetch()) {
|
||||||
$new_notifications[$notification->ntype] = $notification->count;
|
$new_notifications[$notification->ntype] = $notification->count;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user