summaryrefslogtreecommitdiff
path: root/program
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-10-28 20:19:22 +0000
committerthomascube <thomas@roundcube.net>2011-10-28 20:19:22 +0000
commit187ff4e59719cf7b695ce9190ed3967885f557bb (patch)
tree1ae93198f6e550fa13df678addde1cf3473e0bb9 /program
parentfc91c1df4a794389df00af84928f1a7356c9a2d4 (diff)
Avoid errors
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))