summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-17 11:51:01 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-07-17 11:51:01 +0000
commit16026d7e177cf64ea5886b87187069be5c31b7eb (patch)
treefcbe10f62b2f9f7e1a3f70a174b78b783869ce89 /plugins
parent0227c56409f9e7667a33f2d74ae3217c7f406b28 (diff)
Make sure search_fields is array to work with latest version of rcube_ldap
git-svn-id: https://svn.roundcube.net/trunk@4927 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/new_user_identity/new_user_identity.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/new_user_identity/new_user_identity.php b/plugins/new_user_identity/new_user_identity.php
index a8894a299..e3659230b 100644
--- a/plugins/new_user_identity/new_user_identity.php
+++ b/plugins/new_user_identity/new_user_identity.php
@@ -6,7 +6,7 @@
*
* This plugin requires that a working public_ldap directory be configured.
*
- * @version 1.0
+ * @version 1.01
* @author Kris Steinhoff
*
* Example configuration:
@@ -75,6 +75,6 @@ class new_user_identity_ldap_backend extends rcube_ldap
function __construct($p, $debug=false, $mail_domain=NULL, $search=null)
{
parent::__construct($p, $debug, $mail_domain);
- $this->prop['search_fields'] = $search;
+ $this->prop['search_fields'] = (array)$search;
}
}