From fccad4967c9d2064e29942abe441818221402d2f Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 5 Jun 2006 16:26:33 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20la=20date=20de=20livraison=20n'=E9tait?= =?UTF-8?q?=20plus=20r=E9cup=E9r=E9e?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/comm/propal.php | 2 +- htdocs/commande/fiche.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php index b3aafa06ba2..4591e58e209 100644 --- a/htdocs/comm/propal.php +++ b/htdocs/comm/propal.php @@ -112,7 +112,7 @@ if ($_POST['action'] == 'setdate_livraison') { $propal = new Propal($db); $propal->fetch($_GET['propalid']); - $result=$propal->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year']); + $result=$propal->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year'])); if ($result < 0) dolibarr_print_error($db,$propal->error); } diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 9f50ece92d0..366c9d32811 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -145,7 +145,7 @@ if ($_POST['action'] == 'setdate_livraison' && $user->rights->commande->creer) { $commande = new Commande($db); $commande->fetch($_GET['id']); - $commande->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year']); + $commande->set_date_livraison($user,mktime(0, 0, 0, $_POST['liv_month'], $_POST['liv_day'], $_POST['liv_year'])); } if ($_POST['action'] == 'setdeliveryadress' && $user->rights->commande->creer)