mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
fix PHP 8.x TypeError: htmlentities(): Argument #1 ($string) must be of type string, array given
This commit is contained in:
parent
c62b305b4a
commit
f4622f7811
@ -448,7 +448,7 @@ class infolog_bo
|
||||
|
||||
if ((string)$info['info_custom_from'] === '') // old entry
|
||||
{
|
||||
$info['info_custom_from'] = (int) ($title != $info['info_from'] && @htmlentities($title) != $info['info_from']);
|
||||
$info['info_custom_from'] = (int) ($title !== $info['info_from'] && is_string($title) && @htmlentities($title) !== $info['info_from']);
|
||||
}
|
||||
if (!$info['info_custom_from'])
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user