From 480862d7143f291658b48e785eda2e61a438a74b Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 11 Sep 2022 14:58:40 +0000 Subject: php8: fix more warnings --- Zotlabs/Widget/Notifications.php | 1 + 1 file changed, 1 insertion(+) (limited to 'Zotlabs/Widget') diff --git a/Zotlabs/Widget/Notifications.php b/Zotlabs/Widget/Notifications.php index 0e02d5cc1..a4e632a9f 100644 --- a/Zotlabs/Widget/Notifications.php +++ b/Zotlabs/Widget/Notifications.php @@ -13,6 +13,7 @@ class Notifications { function widget($arr) { $channel = \App::get_channel(); + $notifications = []; if(local_channel()) { $notifications[] = [ -- cgit v1.2.3