fixed little error caused

errorreport
This commit is contained in:
katagia 2003-08-25 20:25:09 +00:00
parent dbed9fa72e
commit 8dc5bfcef2
1 changed files with 2 additions and 2 deletions

View File

@ -757,9 +757,9 @@ function checkid($values, $type, $values_old=false) { // if value is empty will
}
}
else $useID = $minID;
return $useID;
return intval($useID);
}
else return $values_old->general_uidNumber;
else return intval($values_old->general_uidNumber);
// Check manual ID
if ( $values->general_uidNumber < $minID || $values->general_uidNumber > $maxID) return sprintf(_('Please enter a value between %s and %s!'), $minID, $maxID);