From 31c75e16274461f55c99e0e153c25c5a77e402d2 Mon Sep 17 00:00:00 2001 From: evarisk-micka Date: Thu, 21 Dec 2023 18:01:03 +0100 Subject: [PATCH] #3211 [Document] add: comment --- .../digiriskdolibarrdocuments/riskassessmentdocument.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/class/digiriskdolibarrdocuments/riskassessmentdocument.class.php b/class/digiriskdolibarrdocuments/riskassessmentdocument.class.php index 14cb1230b..cd2c109b5 100644 --- a/class/digiriskdolibarrdocuments/riskassessmentdocument.class.php +++ b/class/digiriskdolibarrdocuments/riskassessmentdocument.class.php @@ -66,7 +66,7 @@ public function RiskAssessmentDocumentFillJSON() global $conf, $user; $json = []; - $now = dol_now(); + $now = dol_now(); // To change later because we have to use this->date_creation if (!isset($conf->global->DIGIRISKDOLIBARR_RISKASSESSMENTDOCUMENT_AUDIT_START_DATE) || dol_strlen($conf->global->DIGIRISKDOLIBARR_RISKASSESSMENTDOCUMENT_AUDIT_START_DATE) < 1) { dolibarr_set_const($this->db, 'DIGIRISKDOLIBARR_RISKASSESSMENTDOCUMENT_AUDIT_START_DATE', dol_now(), 'chaine', 0, '', $conf->entity);