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

This commit is contained in:
Ralf Becker 2010-04-20 12:52:10 +00:00
parent ac34881766
commit 372b571e32

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