mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
fix SeedDMS_Core_DocumentFile::setDate()
This commit is contained in:
parent
b26c8a6dcf
commit
da972bbc2b
|
@ -4802,7 +4802,7 @@ class SeedDMS_Core_DocumentFile { /* {{{ */
|
|||
* @return boolean true on success
|
||||
*/
|
||||
function setDate($date) { /* {{{ */
|
||||
$db = $this->_dms->getDB();
|
||||
$db = $this->_document->_dms->getDB();
|
||||
|
||||
if(!$date)
|
||||
$date = time();
|
||||
|
|
Loading…
Reference in New Issue
Block a user