Skip to content

Commit

Permalink
Evarisk#3211 [Document] add: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-micka committed Dec 21, 2023
1 parent ece025b commit 31c75e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 31c75e1

Please sign in to comment.