Skip to content

Commit

Permalink
#3540 [AccidentInvestigation] fix: victim fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-theo committed Nov 30, 2023
1 parent 04d613d commit be9c91c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions view/accidentinvestigation/accidentinvestigation_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
$project = new Project($db);
$task = new Task($db);
$signatory = new SaturneSignature($db, $object->module, $object->element);
$victim = $accident->getUserVictim();

$numRefConf = strtoupper($task->element) . '_ADDON';

Expand Down Expand Up @@ -304,7 +303,9 @@
$object->fetch($id);
$accident->fetch($object->fk_accident);

saturne_get_fiche_head($object, 'card', $title);
$victim = $accident->getUserVictim();

saturne_get_fiche_head($object, 'card', $title);
saturne_banner_tab($object);

$formConfirm = '';
Expand Down

0 comments on commit be9c91c

Please sign in to comment.