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