summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7014415ed..21e31b996 100644
--- a/program/include/rcube_contacts.php
+++ b/program/include/rcube_contacts.php
@@ -122,7 +122,7 @@ class rcube_contacts extends rcube_addressbook
if (!$this->groups)
return $results;
- $sql_filter = $search ? "AND " . $this->db->ilike('name', '%'.$search.'%') : '';
+ $sql_filter = $search ? " AND " . $this->db->ilike('name', '%'.$search.'%') : '';
$sql_result = $this->db->query(
"SELECT * FROM ".get_table_name('contactgroups').