From 8dc5bfcef22f0a5a4a06b5a5a7111018449ea15a Mon Sep 17 00:00:00 2001 From: katagia Date: Mon, 25 Aug 2003 20:25:09 +0000 Subject: [PATCH] fixed little error caused errorreport --- lam/lib/account.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index dcd211cf..cb0c02b8 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -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);