fixed bug of not removable apps in the user management

This commit is contained in:
Ralf Becker 2005-03-30 14:42:32 +00:00
parent bc4501f2e7
commit 2c300e8cd7

View File

@ -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();