couldn't create userids==minuid
This commit is contained in:
parent
734045ac79
commit
0b9f85c78f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue