mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
fix wrong function call
This commit is contained in:
parent
59309b7db8
commit
2ded968aa3
|
@ -814,7 +814,7 @@ function insert_document($document) { /* {{{ */
|
||||||
if($newfile) {
|
if($newfile) {
|
||||||
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
|
$newfile->setDate(dateToTimestamp($file['attributes']['date']));
|
||||||
} else {
|
} else {
|
||||||
$logger->error("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