Superblock: Fixes notice and fatal error

pull/1019/head
Michael 2020-09-19 02:51:05 +00:00
parent a398dc0372
commit d65730967c
1 changed files with 3 additions and 0 deletions

View File

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