From 7915021495df58f51662c49d85f10f9f986e8a6a Mon Sep 17 00:00:00 2001 From: Juanjo Menent Date: Sun, 11 Dec 2016 15:23:07 +0100 Subject: [PATCH] Best fix of cancel edit line --- htdocs/commande/card.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/commande/card.php b/htdocs/commande/card.php index 33ad87d4f7f..5264867992d 100644 --- a/htdocs/commande/card.php +++ b/htdocs/commande/card.php @@ -117,8 +117,8 @@ if (empty($reshook)) header("Location: ".$urltogo); exit; } - else { - header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $id); // Pour reaffichage de la fiche en cours d'edition + else { + header('Location: ' . $_SERVER['PHP_SELF'] . '?id=' . $id); exit(); } }