mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +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
|
* @return boolean true on success
|
||||||
*/
|
*/
|
||||||
function setDate($date) { /* {{{ */
|
function setDate($date) { /* {{{ */
|
||||||
$db = $this->_dms->getDB();
|
$db = $this->_document->_dms->getDB();
|
||||||
|
|
||||||
if(!$date)
|
if(!$date)
|
||||||
$date = time();
|
$date = time();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user