cast date to int in constructor of SeedDMS_Core_DocumentContent

This commit is contained in:
Uwe Steinmann 2021-10-02 07:27:29 +02:00
parent a0d214eac2
commit bca394176e

View File

@ -3035,7 +3035,7 @@ class SeedDMS_Core_DocumentContent extends SeedDMS_Core_Object { /* {{{ */
$this->_document = $document; $this->_document = $document;
$this->_version = (int) $version; $this->_version = (int) $version;
$this->_comment = $comment; $this->_comment = $comment;
$this->_date = $date; $this->_date = (int) $date;
$this->_userID = (int) $userID; $this->_userID = (int) $userID;
$this->_dir = $dir; $this->_dir = $dir;
$this->_orgFileName = $orgFileName; $this->_orgFileName = $orgFileName;