Skip to content

Commit

Permalink
Merge pull request Evarisk#3675 from evarisk-micka/fix_missing_require
Browse files Browse the repository at this point in the history
Evarisk#3674 [Triggers] fix: missing require risk in task_create trigger
  • Loading branch information
nicolas-eoxia authored Feb 16, 2024
2 parents 05b6dd0 + b2fffc9 commit f25c27f
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,8 @@ public function runTrigger($action, $object, User $user, Translate $langs, Conf

case 'TASK_CREATE' :
if (!empty($object->array_options['options_fk_risk'])) {
require_once __DIR__ . '/../../class/riskanalysis/risk.class.php';

$langs->load("projects");

$risk = new Risk($this->db);
Expand Down

0 comments on commit f25c27f

Please sign in to comment.