From 3e696da28ef8895edddd8e6e50818871489ff0d7 Mon Sep 17 00:00:00 2001 From: alecpl Date: Thu, 22 Apr 2010 11:30:19 +0000 Subject: - Use '=' operator instead of LIKE --- program/include/rcube_contacts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/program/include/rcube_contacts.php b/program/include/rcube_contacts.php index f243e1074..897d1f479 100644 --- a/program/include/rcube_contacts.php +++ b/program/include/rcube_contacts.php @@ -595,7 +595,7 @@ class rcube_contacts extends rcube_addressbook "SELECT 1 FROM ".get_table_name('contactgroups'). " WHERE del<>1". " AND user_id=?". - " AND name LIKE ?", + " AND name=?", $this->user_id, $checkname); -- cgit v1.2.3