summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2010-04-22 11:30:19 +0000
committeralecpl <alec@alec.pl>2010-04-22 11:30:19 +0000
commit3e696da28ef8895edddd8e6e50818871489ff0d7 (patch)
tree072ff5b02074d381993323cd63663b36dd33a6e3 /program
parent3d6c04ddf0383f261331480cf5221e3cb5e95d75 (diff)
- Use '=' operator instead of LIKE
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_contacts.php2
1 files changed, 1 insertions, 1 deletions
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);