From 6274167272f5399fffcc7bb21a81670aa99e67bb Mon Sep 17 00:00:00 2001 From: thomasb Date: Fri, 28 Oct 2011 20:19:22 +0000 Subject: Avoid errors git-svn-id: https://svn.roundcube.net/trunk@5373 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcube_ldap.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roundcubemail/program/include/rcube_ldap.php b/roundcubemail/program/include/rcube_ldap.php index e00a17c29..facc735d4 100644 --- a/roundcubemail/program/include/rcube_ldap.php +++ b/roundcubemail/program/include/rcube_ldap.php @@ -713,7 +713,7 @@ class rcube_ldap extends rcube_addressbook } // use VLV pseudo-search for autocompletion - if ($this->prop['vlv_search'] && $this->conn && join(',', $fields) == 'email,name') + if ($this->prop['vlv_search'] && $this->conn && join(',', (array)$fields) == 'email,name') { // add general filter to query if (!empty($this->prop['filter']) && empty($this->filter)) -- cgit v1.2.3