Skip to content

Commit

Permalink
fix: missing triggername args on re-open ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
FHenry committed Sep 6, 2024
1 parent bdd6736 commit 5d245e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/ticket/card.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -590,7 +590,7 @@
if ($object->fetch(GETPOST('id', 'int'), '', GETPOST('track_id', 'alpha')) >= 0) {
// prevent browser refresh from reopening ticket several times
if ($object->status == Ticket::STATUS_CLOSED || $object->status == Ticket::STATUS_CANCELED) {
$res = $object->setStatut(Ticket::STATUS_ASSIGNED);
$res = $object->setStatut(Ticket::STATUS_ASSIGNED, null, '', 'TICKET_REOPEN');
if ($res) {
$url = 'card.php?track_id='.$object->track_id;
header("Location: ".$url);
Expand Down

0 comments on commit 5d245e8

Please sign in to comment.