Code

Applied in_array strict patches from trunk
[gosa.git] / gosa-core / plugins / personal / posix / groupSelect / class_filterLDAPBlacklist.inc
index b78f2b2871be4d7f4043df69f3c9d79a91455465..2454e522624879650a6af11fb9e2feae551a235c 100644 (file)
@@ -18,7 +18,7 @@ class filterLDAPBlacklist {
             if(isset($entry[$attr_name])){
               $test = $entry[$attr_name];
               if(!is_array($test)) $test = array($test);
-              if(in_array($match, $test)) unset($entries[$id]);
+              if(in_array_strict($match, $test)) unset($entries[$id]);
             }
           }
         }