diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php index 56277d6b264..3b05a0f20c3 100644 --- a/htdocs/compta/facture.php +++ b/htdocs/compta/facture.php @@ -291,8 +291,9 @@ if ($_POST["action"] == 'confirm_delete' && $_POST["confirm"] == yes) if ($user->rights->facture->supprimer ) { $fac = new Facture($db); - $fac->delete($_POST["facid"]); + $fac->delete($_GET["facid"]); $_GET["facid"] = 0 ; + Header("Location: facture.php"); } }