Merge branch 'seeddms-5.1.x' into seeddms-6.0.x

This commit is contained in:
Uwe Steinmann 2024-04-28 13:48:44 +02:00
commit 2107955b7e

View File

@ -870,7 +870,7 @@ function insert_document($document) { /* {{{ */
if($newfile) {
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
} else {
$logger->error("File ".$file['attributes']['name']." could not be added.");
$logger->err("File ".$file['attributes']['name']." could not be added.");
}
unlink($filename);
}