mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-11 21:50:15 +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!
|
// 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