From 1d40ea36c08791ac18924d11149e55ea83315ea2 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Tue, 12 Feb 2019 14:41:46 -0700 Subject: [PATCH] default to empty notifications --- classes/admincontroller.php | 1 + 1 file changed, 1 insertion(+) diff --git a/classes/admincontroller.php b/classes/admincontroller.php index 9f0cdca5..c4c94fb7 100644 --- a/classes/admincontroller.php +++ b/classes/admincontroller.php @@ -840,6 +840,7 @@ class AdminController extends AdminBaseController try { $notifications = $this->admin->getNotifications($refresh); + $notification_data = []; foreach ($notifications as $type => $type_notifications) { if (empty($filter) || in_array($type, $filter_types)) {