Correction bug lors du cancel de l'ajout d'un fournisseur

This commit is contained in:
Rodolphe Quiedeville 2003-10-11 20:56:44 +00:00
parent 9c54da4d67
commit 1ad1bc1cf6

View File

@ -91,7 +91,7 @@ if ($HTTP_POST_VARS["action"] == 'addinfacture' &&
$mesg .= '<a href="../compta/facture.php?facid='.$facture->id.'">'.$facture->ref.'</a>';
}
if ($HTTP_POST_VARS["action"] == 'add_fourn')
if ($HTTP_POST_VARS["action"] == 'add_fourn' && $cancel <> 'Annuler')
{
$product = new Product($db);
if( $product->fetch($id) )