mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
put file name in ''
This commit is contained in:
parent
2107955b7e
commit
1edb468877
|
@ -870,7 +870,7 @@ function insert_document($document) { /* {{{ */
|
||||||
if($newfile) {
|
if($newfile) {
|
||||||
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
|
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
|
||||||
} else {
|
} else {
|
||||||
$logger->err("File ".$file['attributes']['name']." could not be added.");
|
$logger->err("File '".$file['attributes']['name']."' could not be added.");
|
||||||
}
|
}
|
||||||
unlink($filename);
|
unlink($filename);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user