Code

Syncronized ids.
[gosa.git] / include / class_ObjectList.inc
index a82eef4615a53907ac22da9fa63e8a3fe6437d0c..0c86a24b00fb5937555752edc84a6d5b66f35d8f 100644 (file)
@@ -359,9 +359,8 @@ class ObjectList implements IteratorAggregate {
         );
 
     $tmp2 = array();
-    foreach($tmp as $entry){
-      $id = uniqid();
-      $entry['id']= $id;
+    foreach($tmp as $key => $entry){
+      $entry['id']= $key;
       $tmp2[] = $entry;
     }