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; }