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 dd74e87a0c
commit 76e4a2acd3

View File

@ -551,7 +551,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);
}
@ -561,7 +561,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);
}