From 372b571e32aabef878e8a989c0ec4f737a67894d Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 20 Apr 2010 12:52:10 +0000 Subject: [PATCH] "fixed warning (wrong parameter in array_unshift), if account_id not set" --- phpgwapi/inc/class.acl.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.acl.inc.php b/phpgwapi/inc/class.acl.inc.php index 477825e33a..dc1d731281 100644 --- a/phpgwapi/inc/class.acl.inc.php +++ b/phpgwapi/inc/class.acl.inc.php @@ -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; }