From 1ad1bc1cf6174b9439db1072ec7b463b8b02782f Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 11 Oct 2003 20:56:44 +0000 Subject: [PATCH] Correction bug lors du cancel de l'ajout d'un fournisseur --- htdocs/product/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/product/fiche.php b/htdocs/product/fiche.php index f360c3bb869..1581151c771 100644 --- a/htdocs/product/fiche.php +++ b/htdocs/product/fiche.php @@ -91,7 +91,7 @@ if ($HTTP_POST_VARS["action"] == 'addinfacture' && $mesg .= ''.$facture->ref.''; } -if ($HTTP_POST_VARS["action"] == 'add_fourn') +if ($HTTP_POST_VARS["action"] == 'add_fourn' && $cancel <> 'Annuler') { $product = new Product($db); if( $product->fetch($id) )