Correctly check for the assigned providers when notifying secretaries (#966).

This commit is contained in:
Alex Tselegidis 2021-01-08 12:07:08 +02:00
parent 5d73fafc31
commit 2c67f7ce26

View file

@ -130,7 +130,7 @@ class Notifications {
continue; continue;
} }
if (in_array($provider['id'], $secretary['providers'])) if (!in_array($provider['id'], $secretary['providers']))
{ {
continue; continue;
} }
@ -209,7 +209,7 @@ class Notifications {
continue; continue;
} }
if (in_array($provider['id'], $secretary['providers'])) if (!in_array($provider['id'], $secretary['providers']))
{ {
continue; continue;
} }