diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-23 08:09:25 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-04-23 08:09:25 +0000 |
| commit | 02d033f7facd3c59ec770a10748b11e5d7ce7308 (patch) | |
| tree | d374a10934436e67932ce8fc8f41dc9baff416e6 | |
| parent | 438fe1f475d377b79a6b5f48c0096b458ebda5f7 (diff) | |
- Fix SQL error on contact auto-completion (#1486649)
git-svn-id: https://svn.roundcube.net/trunk@3543 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/program/include/rcube_contacts.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/rcube_contacts.php b/roundcubemail/program/include/rcube_contacts.php index 7014415ed..21e31b996 100644 --- a/roundcubemail/program/include/rcube_contacts.php +++ b/roundcubemail/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'). |
