Superblock: Fixes notice and fatal error #1019

Merged
annando merged 1 commit from superblock-fatal into 2020.09-rc 2020-09-19 08:01:11 +02:00

View file

@ -63,6 +63,9 @@ function superblock_addon_settings_post(&$a, &$b)
} }
function superblock_enotify_store(&$a,&$b) { function superblock_enotify_store(&$a,&$b) {
if (empty($b['uid'])) {
return;
}
$words = DI::pConfig()->get($b['uid'], 'system', 'blocked'); $words = DI::pConfig()->get($b['uid'], 'system', 'blocked');
if ($words) { if ($words) {