diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc
index 22d7a18df155707ea590a84e436a23fcc79feb94..df89b48217e8e38d4b139b03233c2458e9789490 100644 (file)
// Generate instance wide unique ID
$id = "";
- while($id == "" || in_array($id, $usedIds)){
+ while($id == "" || in_array_strict($id, $usedIds)){
// Wait 1 msec to ensure that we definately get a new id
if($id != "") usleep(1);
{
// Only add if not already there
if (!$key) {
- if (in_array($entry, $this->data)) {
+ if (in_array_strict($entry, $this->data)) {
return;
}
} else {