mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-25 09:23:08 +03:00
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;
|
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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue