From 055582053a939f40d56896c6f47dc65382018870 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Tue, 13 Jun 2006 12:54:12 +0000 Subject: [PATCH] bugfix --- htdocs/fourn/facture/fiche.php | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/fourn/facture/fiche.php b/htdocs/fourn/facture/fiche.php index 4aafbf8f7ef..07eb8392536 100644 --- a/htdocs/fourn/facture/fiche.php +++ b/htdocs/fourn/facture/fiche.php @@ -405,9 +405,8 @@ else */ if ($_GET['action'] == 'delete_product_line' && $conf->global->PRODUIT_CONFIRM_DELETE_LINE) { - $html->form_confirm($_SERVER["PHP_SELF"].'?facid='.$fac->id.'&ligne_id='.$_GET["ligne_id"], $langs->trans('DeleteProductLine'), $langs->trans('ConfirmDeleteProductLine'), 'confirm_deleteproductline'); + $html->form_confirm($_SERVER["PHP_SELF"].'?facid='.$fac->id.'&action=edit&ligne_id='.$_GET["ligne_id"], $langs->trans('DeleteProductLine'), $langs->trans('ConfirmDeleteProductLine'), 'confirm_deleteproductline'); print '
'; - $_GET['action'] = 'edit'; //renvoi sur l'édition } print '
'; @@ -534,7 +533,7 @@ else $html->select_tva('tauxtva','',$societe,$mysoc); print ''; print ' '; - print ''; + print ''; print '
'; // Ajout de produits/services prédéfinis