Correctly check for the assigned providers when notifying secretaries (#966).
This commit is contained in:
parent
5d73fafc31
commit
2c67f7ce26
1 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ class Notifications {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (in_array($provider['id'], $secretary['providers']))
|
||||
if (!in_array($provider['id'], $secretary['providers']))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
@ -209,7 +209,7 @@ class Notifications {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (in_array($provider['id'], $secretary['providers']))
|
||||
if (!in_array($provider['id'], $secretary['providers']))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue