Make sure admins do not get notified on appointment removals, if their notification setting is deactivated (#1074).
This commit is contained in:
parent
95dfc866e1
commit
4f0b2c6c8f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue