From d65730967c8bde361ba92297ef4ceae41b628344 Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 19 Sep 2020 02:51:05 +0000 Subject: [PATCH] Superblock: Fixes notice and fatal error --- superblock/superblock.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/superblock/superblock.php b/superblock/superblock.php index ad2e8c14..7bf2bc4c 100644 --- a/superblock/superblock.php +++ b/superblock/superblock.php @@ -63,6 +63,9 @@ function superblock_addon_settings_post(&$a, &$b) } function superblock_enotify_store(&$a,&$b) { + if (empty($b['uid'])) { + return; + } $words = DI::pConfig()->get($b['uid'], 'system', 'blocked'); if ($words) {