"fixed warning (wrong parameter in array_unshift), if account_id not set"

This commit is contained in:
Ralf Becker 2010-04-20 12:52:53 +00:00
parent a200ab98f9
commit 3102177fbc

View File

@ -133,7 +133,7 @@ class acl
{
$this->acl();
}
if ($no_groups === true)
if ($no_groups === true || !$this->account_id)
{
$acl_acc_list = $this->account_id;
}