From 4d5d4c42c01bdef8b573a7f1c6c6e5fbee65b6b9 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 25 Dec 2006 11:02:54 +0000 Subject: [PATCH] quietend a warning happening if no use set in login --- 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 f546780746..c521a90c1f 100644 --- a/phpgwapi/inc/class.acl.inc.php +++ b/phpgwapi/inc/class.acl.inc.php @@ -154,7 +154,7 @@ $this->acl(); } $acl_acc_list = $GLOBALS['egw']->accounts->memberships($this->account_id,true); - array_unshift($acl_acc_list,$this->account_id); + @array_unshift($acl_acc_list,$this->account_id); $this->db->select($this->table_name,'*',array('acl_account' => $acl_acc_list ),__LINE__,__FILE__); $this->data = Array();