Merge pull request #950 from nupplaphil/bug/8182_another_notification_bug

[various] enotify: empty out fields instead of using "abort" for addons
This commit is contained in:
Hypolite Petovan
2020-01-28 16:58:47 -05:00
committed by GitHub
2 changed files with 4 additions and 2 deletions

View File

@@ -108,7 +108,8 @@ function blockem_enotify_store(App $a, array &$b)
} }
if ($found) { if ($found) {
$b['abort'] = true; // empty out the fields
$b = [];
} }
} }

View File

@@ -95,7 +95,8 @@ function superblock_enotify_store(&$a,&$b) {
} }
} }
if ($found) { if ($found) {
$b['abort'] = true; // Empty out the fields
$b = [];
} }
} }