mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 09:05:16 +01:00
Fixes for the caching of account_id's.
This commit is contained in:
parent
3856821e6a
commit
4976ec2f54
@ -409,7 +409,7 @@
|
||||
{
|
||||
static $cache_accountid;
|
||||
|
||||
if($cache_accountid[$accountid])
|
||||
if(isset($cache_accountid[$accountid]) && $cache_accountid[$accountid])
|
||||
{
|
||||
$account_id = $cache_accountid[$accountid];
|
||||
}
|
||||
@ -528,6 +528,7 @@
|
||||
$accounts[] = intval($this->db->f('acl_account'));
|
||||
}
|
||||
}
|
||||
@reset($accounts);
|
||||
return $accounts;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user