mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Send intval of account_id to accounts class so that get_account_id will work
as expected
This commit is contained in:
parent
e5585d24b6
commit
4004b60c84
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user