Skip to content

Commit

Permalink
[Accident] fix: saving \n twice within accident description
Browse files Browse the repository at this point in the history
  • Loading branch information
evarisk-theo committed Mar 11, 2022
1 parent 68a6733 commit 932c99d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions view/accident/accident_card.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
$user_employer_id = GETPOST('fk_user_employer');
$digiriskelement_id = GETPOST('fk_element');
$label = GETPOST('label');
$description = GETPOST('description');
$description = GETPOST('description', 'restricthtml');
$accident_type = GETPOST('accident_type');
$external_accident = GETPOST('external_accident');
$accident_location = GETPOST('accident_location');
Expand Down Expand Up @@ -237,7 +237,7 @@
$user_employer_id = GETPOST('fk_user_employer');
$digiriskelement_id = GETPOST('fk_element');
$label = GETPOST('label');
$description = GETPOST('description');
$description = GETPOST('description', 'restricthtml');
$accident_type = GETPOST('accident_type');
$external_accident = GETPOST('external_accident');
$accident_location = GETPOST('accident_location');
Expand Down

0 comments on commit 932c99d

Please sign in to comment.