fix PHP 8.0 TypeError: Unsupported operand types: string + string

This commit is contained in:
Ralf Becker 2021-11-22 08:41:01 +01:00
parent 2a57071d88
commit 8f73669d6a

View File

@ -542,7 +542,7 @@ class importexport_schedule_ui
foreach($po->get_warnings() as $record => $msg)
{
$data['warnings'][$target][] = "#$record: $msg";
$buffer += "$record\t$msg\n";
$buffer .= "$record\t$msg\n";
}
error_log($buffer);
}
@ -552,7 +552,7 @@ class importexport_schedule_ui
foreach($po->get_errors() as $record => $error)
{
$data['errors'][$target][] = "#$record: $error";
$buffer += "$record\t$error\n";
$buffer .= "$record\t$error\n";
}
error_log($buffer);
}