diff --git a/application/libraries/Notifications.php b/application/libraries/Notifications.php index 2188f022..0acdd72f 100644 --- a/application/libraries/Notifications.php +++ b/application/libraries/Notifications.php @@ -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; }