From: Michael Date: Sat, 19 Sep 2020 02:51:05 +0000 (+0000) Subject: Superblock: Fixes notice and fatal error X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d65730967c8bde361ba92297ef4ceae41b628344;p=friendica-addons.git Superblock: Fixes notice and fatal error --- 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) {