Code

Applied in_array strict patches from trunk
[gosa.git] / gosa-core / include / class_releaseSelector.inc
index fe62b530e3f04569c119237a92929c8968091186..3800728e04f274bf277915f14a6e392b012e895d 100644 (file)
@@ -46,7 +46,7 @@ class releaseSelector {
 
         // Generate instance wide unique ID
         $pid = "";
-        while($pid == "" || in_array($pid, $usedIds)){
+        while($pid == "" || in_array_strict($pid, $usedIds)){
 
             // Wait 1 msec to ensure that we definately get a new id
             if($pid != "") usleep(1);