From 8d9dc92c4bc7f0ae7c9b8d526bf68ea0a37f393b Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 15 May 2006 12:54:36 +0000 Subject: [PATCH] =?UTF-8?q?Ajout=20possibilit=E9=20de=20activer/d=E9sactiv?= =?UTF-8?q?er=20les=20exp=E9ditions=20et=20les=20bon=20de=20livraison,=20r?= =?UTF-8?q?enommage=20de=20MAIN=5FMODULE=5FEXPEDITION=20en=20MAIN=5FSUBMOD?= =?UTF-8?q?ULE=5FEXPEDITION?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/confexped.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/admin/confexped.php b/htdocs/admin/confexped.php index 3b8c414fa7e..ac9b892219a 100644 --- a/htdocs/admin/confexped.php +++ b/htdocs/admin/confexped.php @@ -40,25 +40,25 @@ if (!$user->admin) if ($_POST["action"] == 'activate_sending') { dolibarr_set_const($db, "MAIN_SUBMODULE_EXPEDITION", $_POST["value"]); - Header("Location: produit.php"); + Header("Location: confexped.php"); exit; } else if ($_GET["action"] == 'disable_sending') { dolibarr_del_const($db, "MAIN_SUBMODULE_EXPEDITION"); - Header("Location: produit.php"); + Header("Location: confexped.php"); exit; } else if ($_GET["action"] == 'activate_delivery') { dolibarr_set_const($db, "MAIN_SUBMODULE_LIVRAISON", "1"); - Header("Location: produit.php"); + Header("Location: confexped.php"); exit; } else if ($_GET["action"] == 'disable_delivery') { dolibarr_del_const($db, "MAIN_SUBMODULE_LIVRAISON"); - Header("Location: produit.php"); + Header("Location: confexped.php"); exit; }