mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix PHP 8.0 error: trim expects string, array given
removed trim
This commit is contained in:
parent
201d1f9972
commit
4db49da7e5
@ -594,7 +594,7 @@ class Ldap
|
||||
{
|
||||
// dont convert the (binary) jpegPhoto!
|
||||
$ldapContact[$ldapFieldName] = $ldapFieldName == 'jpegphoto' ? $data[$egwFieldName] :
|
||||
Api\Translation::convert(trim($data[$egwFieldName]),$this->charset,'utf-8');
|
||||
Api\Translation::convert($data[$egwFieldName], $this->charset,'utf-8');
|
||||
}
|
||||
elseif($isUpdate && isset($data[$egwFieldName]))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user