diff --git a/htdocs/telephonie/fournisseur/fiche.php b/htdocs/telephonie/fournisseur/fiche.php index 2e5a09593ac..cd258c962f6 100644 --- a/htdocs/telephonie/fournisseur/fiche.php +++ b/htdocs/telephonie/fournisseur/fiche.php @@ -44,9 +44,10 @@ if ($_POST["action"] == 'update' && $_GET["id"]) if ($fourn->fetch($_GET["id"]) == 0) { - $fourn->num_client = $_POST["num_client"]; - $fourn->email_commande = $_POST["email_commande"]; + $fourn->num_client = $_POST["num_client"]; + $fourn->email_commande = $_POST["email_commande"]; $fourn->methode_commande = $_POST["methode"]; + $fourn->commande_bloque = $_POST["commande_bloque"]; if ( $fourn->update($user) == 0) { @@ -113,6 +114,9 @@ if ($_GET["action"] == 'create') */ if ($_GET["id"] > 0) { + $art[0] = "non"; + $art[1] = "oui"; + $fourn = new FournisseurTelephonie($db); if ($fourn->fetch($_GET["id"]) == 0) { @@ -150,6 +154,13 @@ if ($_GET["id"] > 0) print ''; print '