Skip to content

Commit

Permalink
fix: active standard const with multi entity
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-theo committed Apr 20, 2021
1 parent f0d8f14 commit bfae902
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/modules/modDigiriskDolibarr.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -751,7 +751,7 @@ public function init($options = '')

$standard_id = $digiriskstandard->create($user);

dolibarr_set_const($this->db, 'DIGIRISKDOLIBARR_ACTIVE_STANDARD', $standard_id);
dolibarr_set_const($this->db, 'DIGIRISKDOLIBARR_ACTIVE_STANDARD', $standard_id, 'integer', 0, '', $digiriskstandard->entity);
}

// Create extrafields during init
Expand Down

0 comments on commit bfae902

Please sign in to comment.