Code

Syncronized ids.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Nov 2007 08:25:07 +0000 (08:25 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 13 Nov 2007 08:25:07 +0000 (08:25 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7784 594d385d-05f5-0310-b6e9-bd551577e9d8

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;
     }