From 4c36d1ec5649ffe501e382bf570ccf8affa502e0 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Mon, 1 May 2006 14:54:40 +0000 Subject: [PATCH] =?UTF-8?q?ajout=20possibilit=E9=20d'envoyer=20la=20comman?= =?UTF-8?q?de=20client=20par=20mail?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 510017faeb6..05a0cc93d79 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -322,7 +322,7 @@ if ($_POST['action'] == 'send') { $langs->load('mails'); $commande= new Commande($db); - if ( $commande->fetch($_POST['id']) ) + if ( $commande->fetch($_POST['orderid']) ) { $orderref = sanitize_string($commande->ref); $file = $conf->commande->dir_output . '/' . $orderref . '/' . $orderref . '.pdf';