set default value of setDate() to null

This commit is contained in:
Uwe Steinmann 2022-03-02 07:37:20 +01:00
parent 313f518548
commit bc0e03c6c6

View File

@ -5794,7 +5794,7 @@ class SeedDMS_Core_DocumentFile { /* {{{ */
* to the current timestamp
* @return boolean true on success
*/
function setDate($date) { /* {{{ */
function setDate($date=null) { /* {{{ */
$db = $this->_document->getDMS()->getDB();
if(!$date)