forked from extern/egroupware
fix PHP 8.0 error: trim expects string, array given
removed trim
This commit is contained in:
parent
17e25fa1e0
commit
0d8f4f624f
@ -594,7 +594,7 @@ class Ldap
|
|||||||
{
|
{
|
||||||
// dont convert the (binary) jpegPhoto!
|
// dont convert the (binary) jpegPhoto!
|
||||||
$ldapContact[$ldapFieldName] = $ldapFieldName == 'jpegphoto' ? $data[$egwFieldName] :
|
$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]))
|
elseif($isUpdate && isset($data[$egwFieldName]))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user