From 76ba0c8b53c41b539c9f28870bba09b48bf44fa5 Mon Sep 17 00:00:00 2001 From: skeeter Date: Sun, 21 Jan 2001 23:20:30 +0000 Subject: [PATCH] removed trailing ) from delete --- 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 b40c3dbba3..3c144d3451 100644 --- a/phpgwapi/inc/class.acl.inc.php +++ b/phpgwapi/inc/class.acl.inc.php @@ -85,7 +85,7 @@ function delete($app, $location, $id, $id_type){ $sql = "delete from phpgw_acl where acl_appname='".$app."'"; $sql .= " and acl_location ='".$location."' and "; - $sql .= " acl_account_type = '".$id_type."' and acl_account = ".$id.")"; + $sql .= " acl_account_type = '".$id_type."' and acl_account = ".$id; $this->db->query($sql ,__LINE__,__FILE__); return True; }