From: hickert Date: Fri, 12 Nov 2010 14:25:31 +0000 (+0000) Subject: Fixed id allocation X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4f7701a29634e7195ef847741680adb0dc7c7b89;p=gosa.git Fixed id allocation git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20231 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/functions.inc b/gosa-core/include/functions.inc index 1ec22f9c8..8723e01ad 100644 --- a/gosa-core/include/functions.inc +++ b/gosa-core/include/functions.inc @@ -3540,7 +3540,7 @@ function get_next_id_traditional($attrib, $dn) /* Call base hook */ $base= get_base_from_hook($dn, $attrib); } - for ($id= $base; $id++; $id < pow(2,32)){ + for ($id= $base; $id++; $id < $hwm){ if (!in_array($id, $ids)){ return ($id); }