From 4f7701a29634e7195ef847741680adb0dc7c7b89 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 12 Nov 2010 14:25:31 +0000 Subject: [PATCH] Fixed id allocation git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@20231 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.30.2