diff --git a/lib/UserBackend.php b/lib/UserBackend.php index bc8d9f3fc..730afcc1d 100644 --- a/lib/UserBackend.php +++ b/lib/UserBackend.php @@ -586,19 +586,8 @@ private function getAttributeValue($name, array $attributes) { $value = ''; foreach($keys as $key) { if (isset($attributes[$key])) { - if (is_array($attributes[$key])) { - foreach ($attributes[$key] as $attribute_part_value) { - if($value !== '') { - $value .= ' '; - } - $value .= $attribute_part_value; - } - } else { - if($value !== '') { - $value .= ' '; - } - $value .= $attributes[$key]; - } + $array = explode(";", $attributes[$key]); + $value = array_merge($value, array_values($array)); } }