Make sure admins do not get notified on appointment removals, if their notification setting is deactivated (#1074).

This commit is contained in:
Alex Tselegidis 2021-05-17 12:57:06 +02:00
parent 95dfc866e1
commit 4f0b2c6c8f

View file

@ -189,7 +189,7 @@ class Notifications {
foreach ($admins as $admin) foreach ($admins as $admin)
{ {
if ( ! $admin['settings']['notifications'] === '0') if ($admin['settings']['notifications'] === '0')
{ {
continue; continue;
} }