removes php warning

This commit is contained in:
Hannes Mannerheim 2015-01-28 01:19:36 +01:00
parent d8463dc019
commit f88be7bf6f

View File

@ -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->find();
$new_notifications = array();
while ($notification->fetch()) {
$new_notifications[$notification->ntype] = $notification->count;
}