mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-21 10:27:52 +02:00
fix TypeError on InfoLog notification
This commit is contained in:
parent
4077d48491
commit
13d68e2e07
@ -1161,6 +1161,12 @@ abstract class Tracking
|
|||||||
//error_log(__METHOD__.'('.array2string($html_mail).",'$type',".array2string($modified).",'$line',".array2string($data).')');
|
//error_log(__METHOD__.'('.array2string($html_mail).",'$type',".array2string($modified).",'$line',".array2string($data).')');
|
||||||
$content = '';
|
$content = '';
|
||||||
|
|
||||||
|
if (is_array($data))
|
||||||
|
{
|
||||||
|
error_log(__METHOD__."(".json_encode(func_get_args()).") data should be a string, no array!");
|
||||||
|
$data = implode(', ', $data);
|
||||||
|
}
|
||||||
|
|
||||||
if ($html_mail)
|
if ($html_mail)
|
||||||
{
|
{
|
||||||
if (!$this->html_content_allow) $line = Api\Html::htmlspecialchars($line); // XSS
|
if (!$this->html_content_allow) $line = Api\Html::htmlspecialchars($line); // XSS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user