Code

Replaced in_array calls with in_array_strict
[gosa.git] / gosa-plugins / goto / addons / goto / events / class_DaemonEvent_notify.inc
index 51ee3f218abd821bcac22fe0236f3024c0c19840..889196c8e226fdbb7083494fa826bda151cb5869 100644 (file)
@@ -143,7 +143,7 @@ class DaemonEvent_notify extends DaemonEvent
             $add = array($add);
         }
         foreach($add as $target){
-            if(!in_array($target,$this->user)){
+            if(!in_array_strict($target,$this->user)){
                 $this->user[] = $target;
             }
         }
@@ -157,7 +157,7 @@ class DaemonEvent_notify extends DaemonEvent
             $add = array($add);
         }
         foreach($add as $target){
-            if(!in_array($target,$this->group)){
+            if(!in_array_strict($target,$this->group)){
                 $this->group[] = $target;
             }
         }