Correction bug lors du cancel de l'ajout d'un fournisseur
This commit is contained in:
parent
9c54da4d67
commit
1ad1bc1cf6
@ -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) )
|
||||
|
||||
Loading…
Reference in New Issue
Block a user