couldn't create userids==minuid

This commit is contained in:
katagia 2003-06-05 17:04:33 +00:00
parent 734045ac79
commit 0b9f85c78f
1 changed files with 1 additions and 1 deletions

View File

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