From: hickert Date: Tue, 13 Nov 2007 08:25:07 +0000 (+0000) Subject: Syncronized ids. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=85cb99dcba087da1c7991738f629f7e636822702;p=gosa.git Syncronized ids. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7784 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ObjectList.inc b/include/class_ObjectList.inc index a82eef461..0c86a24b0 100644 --- a/include/class_ObjectList.inc +++ b/include/class_ObjectList.inc @@ -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; }