Fixes for the caching of account_id's.

This commit is contained in:
skeeter 2001-09-04 03:15:03 +00:00
parent 3856821e6a
commit 4976ec2f54

View File

@ -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;
} }