From 0b9f85c78fe939466668b355c24c5be48ee8bc18 Mon Sep 17 00:00:00 2001 From: katagia Date: Thu, 5 Jun 2003 17:04:33 +0000 Subject: [PATCH] couldn't create userids==minuid --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index c45e30fa..4f24c8a5 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -510,7 +510,7 @@ function checkid($values, $type, $values_old=false) { // if value is empty will if (!$values_old) return _('ID is used from ' . $dn . ' !'); else if ($dn!=$values_old->general_dn) return _('ID is used from ' . $dn . ' !'); } - if ( $values->general_uidNumber < $minID || $values->general_uidNumber > $maxID) return _('Please enter a value between '. $minID . ' and ' . $maxID . '!'); + if ( $values->general_uidNumber <= $minID || $values->general_uidNumber => $maxID) return _('Please enter a value between '. $minID . ' and ' . $maxID . '!'); return intval($values->general_uidNumber); }