From da972bbc2b5d482f57e11a3778ae6a72bbb6d3bb Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 12 Dec 2017 09:48:05 +0100 Subject: [PATCH] fix SeedDMS_Core_DocumentFile::setDate() --- SeedDMS_Core/Core/inc.ClassDocument.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SeedDMS_Core/Core/inc.ClassDocument.php b/SeedDMS_Core/Core/inc.ClassDocument.php index 82d503557..76e53d5fe 100644 --- a/SeedDMS_Core/Core/inc.ClassDocument.php +++ b/SeedDMS_Core/Core/inc.ClassDocument.php @@ -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();