mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-22 17:43:47 +00:00
Merge pull request #1019 from annando/superblock-fatal
Superblock: Fixes notice and fatal error
This commit is contained in:
commit
a2328af757
1 changed files with 3 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue