From d839c0ff5f5f15a97af3d661a811542848132520 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 2 Jun 2006 09:10:52 +0000 Subject: [PATCH] =?UTF-8?q?Le=20fait=20de=20"class=E9=20factur=E9e"=20une?= =?UTF-8?q?=20propale=20en=20m=EAme=20temps=20qu'une=20commande=20devient?= =?UTF-8?q?=20une=20=20option=20activable=20dans=20la=20configuration=20du?= =?UTF-8?q?=20module=20propale?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/admin/propale.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/propale.php b/htdocs/admin/propale.php index 80442ad1272..529bf2ba2e1 100644 --- a/htdocs/admin/propale.php +++ b/htdocs/admin/propale.php @@ -52,13 +52,13 @@ if ($_POST["action"] == 'nbprod') exit; } -if ($_POST["action"] == 'activate_classifiedinvoiced') +if ($_GET["action"] == 'activate_classifiedinvoiced') { dolibarr_set_const($db, "PROPALE_CLASSIFIED_INVOICED_WITH_ORDER", "1"); Header("Location: propale.php"); exit; } -else if ($_POST["action"] == 'disable_classifiedinvoiced') +else if ($_GET["action"] == 'disable_classifiedinvoiced') { dolibarr_del_const($db, "PROPALE_CLASSIFIED_INVOICED_WITH_ORDER"); Header("Location: propale.php");