mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
set 'orig_filename' get return value of getDocument()
This commit is contained in:
parent
ba85d4d59c
commit
45538b32ff
|
@ -461,6 +461,7 @@ function getDocument($id) { /* {{{ */
|
||||||
'date'=>$document->getDate(),
|
'date'=>$document->getDate(),
|
||||||
'mimetype'=>$lc->getMimeType(),
|
'mimetype'=>$lc->getMimeType(),
|
||||||
'version'=>$lc->getVersion(),
|
'version'=>$lc->getVersion(),
|
||||||
|
'orig_filename'=>$lc->getOriginalFileName(),
|
||||||
'size'=>$lc->getFileSize(),
|
'size'=>$lc->getFileSize(),
|
||||||
'keywords'=>htmlspecialchars($document->getKeywords()),
|
'keywords'=>htmlspecialchars($document->getKeywords()),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user