diff --git a/apps/user_ldap/lib/configuration.php b/apps/user_ldap/lib/configuration.php index e9de106bdd..e14ed824a7 100644 --- a/apps/user_ldap/lib/configuration.php +++ b/apps/user_ldap/lib/configuration.php @@ -241,7 +241,7 @@ class Configuration { protected function setMultiLine($varname, $value) { if(empty($value)) { $value = ''; - } else { + } else if (!is_array($value)) { $value = preg_split('/\r\n|\r|\n/', $value); if($value === false) { $value = '';