From 85cb99dcba087da1c7991738f629f7e636822702 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Nov 2007 08:25:07 +0000 Subject: [PATCH] Syncronized ids. git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-playground@7784 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_ObjectList.inc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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; } -- 2.30.2