forked from extern/egroupware
Fixes for the caching of account_id's.
This commit is contained in:
parent
3856821e6a
commit
4976ec2f54
@ -409,7 +409,7 @@
|
|||||||
{
|
{
|
||||||
static $cache_accountid;
|
static $cache_accountid;
|
||||||
|
|
||||||
if($cache_accountid[$accountid])
|
if(isset($cache_accountid[$accountid]) && $cache_accountid[$accountid])
|
||||||
{
|
{
|
||||||
$account_id = $cache_accountid[$accountid];
|
$account_id = $cache_accountid[$accountid];
|
||||||
}
|
}
|
||||||
@ -528,6 +528,7 @@
|
|||||||
$accounts[] = intval($this->db->f('acl_account'));
|
$accounts[] = intval($this->db->f('acl_account'));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@reset($accounts);
|
||||||
return $accounts;
|
return $accounts;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user