mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
put file name in ''
This commit is contained in:
parent
2ded968aa3
commit
36ab25dfdc
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user