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').