From 2c300e8cd7c575c2a567a1e754e2901fb4d93286 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 30 Mar 2005 14:42:32 +0000 Subject: [PATCH] fixed bug of not removable apps in the user management --- phpgwapi/inc/class.acl.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/phpgwapi/inc/class.acl.inc.php b/phpgwapi/inc/class.acl.inc.php index 29c1093fa9..ebc40da28f 100644 --- a/phpgwapi/inc/class.acl.inc.php +++ b/phpgwapi/inc/class.acl.inc.php @@ -414,6 +414,8 @@ $where['acl_account'] = $cache_accountid[$accountid] = get_account_id($accountid,$this->account_id); } } + if ($app == '%' || $app == '%%') unset($where['acl_appname']); + $this->db->delete($this->table_name,$where,__LINE__,__FILE__); return $this->db->affected_rows();