mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2026-01-17 13:03:04 +01:00
default to empty notifications
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user