diff --git a/admin/inc/class.uiaccounts.inc.php b/admin/inc/class.uiaccounts.inc.php index 7adad08755..752efcb38d 100755 --- a/admin/inc/class.uiaccounts.inc.php +++ b/admin/inc/class.uiaccounts.inc.php @@ -223,7 +223,7 @@ $t->parse('password_fields','form_logininfo',True); - $account = CreateObject('phpgwapi.accounts',$GLOBALS['HTTP_GET_VARS']['account_id']); + $account = CreateObject('phpgwapi.accounts',intval($GLOBALS['HTTP_GET_VARS']['account_id'])); $userData = $account->read_repository(); $var['account_lid'] = $userData['account_lid']; @@ -382,7 +382,7 @@ { if($_account_id) { - $account = CreateObject('phpgwapi.accounts',$_account_id); + $account = CreateObject('phpgwapi.accounts',intval($_account_id)); $userData = $account->read_repository(); $userGroups = $account->membership($_account_id); } @@ -714,7 +714,7 @@ $apps = CreateObject('phpgwapi.applications',intval($account_id)); $db_perms = $apps->read_account_specific(); - $accounts = CreateObject('phpgwapi.accounts',$account_id); + $accounts = CreateObject('phpgwapi.accounts',intval($account_id)); $account_list = $accounts->get_list('accounts'); $account_num = count($account_list);