default to empty notifications

This commit is contained in:
Andy Miller
2019-02-12 14:41:46 -07:00
parent 07c1b449d8
commit 1d40ea36c0

View File

@@ -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)) {