diff --git a/htdocs/expedition/card.php b/htdocs/expedition/card.php index 636f758602f..9e23c96ff8d 100644 --- a/htdocs/expedition/card.php +++ b/htdocs/expedition/card.php @@ -163,6 +163,9 @@ if (empty($reshook)) { $result = $object->setDraft($user, 0); if ($result < 0) { setEventMessages($object->error, $object->errors, 'errors'); + } else { + header("Location: ".$_SERVER['PHP_SELF']."?id=".$object->id); + exit; } } // Reopen @@ -171,6 +174,9 @@ if (empty($reshook)) { $result = $object->reOpen(); if ($result < 0) { setEventMessages($object->error, $object->errors, 'errors'); + } else { + header("Location: ".$_SERVER['PHP_SELF']."?id=".$object->id); + exit; } }