From 021fbc1780310cdf9404a06b41b169dfc54b75f5 Mon Sep 17 00:00:00 2001 From: Regis Houssin <regis@dolibarr.fr> Date: Fri, 27 Jul 2007 05:25:43 +0000 Subject: [PATCH] Fix: erreur de nom de champs de formulaire --- htdocs/admin/propale.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/propale.php b/htdocs/admin/propale.php index ca74e8673c3..795f8ad59b6 100644 --- a/htdocs/admin/propale.php +++ b/htdocs/admin/propale.php @@ -4,6 +4,7 @@ * Copyright (C) 2004 Sebastien Di Cintio <sdicintio@ressource-toi.org> * Copyright (C) 2004 Benoit Mortier <benoit.mortier@opensides.be> * Copyright (C) 2004 Eric Seigne <eric.seigne@ryxeo.com> + * Copyright (C) 2005-2007 Regis Houssin <regis.houssin@cap-networks.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -85,14 +86,14 @@ if ($_POST["action"] == 'setdefaultduration') exit; } -if ($_POST["action"] == 'addshippingdate') +if ($_POST["action"] == 'setaddshippingdate') { dolibarr_set_const($db, "PROPALE_ADD_SHIPPING_DATE",$_POST["value"]); Header("Location: propale.php"); exit; } -if ($_POST["action"] == 'adddeliveryaddress') +if ($_POST["action"] == 'setadddeliveryaddress') { dolibarr_set_const($db, "PROPALE_ADD_DELIVERY_ADDRESS",$_POST["value"]); Header("Location: propale.php"); -- GitLab