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) )