put file name in ''

This commit is contained in:
Uwe Steinmann 2024-04-28 14:40:39 +02:00
parent 2ded968aa3
commit 36ab25dfdc

View File

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