summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
Diffstat (limited to 'program')
-rw-r--r--program/include/rcube_ldap.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcube_ldap.php b/program/include/rcube_ldap.php
index e00a17c29..facc735d4 100644
--- a/program/include/rcube_ldap.php
+++ b/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))