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); }