From 16e3bd6960fa7b1546cb0f1bc41e13e7cf70df08 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 21 Jul 2004 10:33:11 +0000 Subject: [PATCH] Modif register_global --- htdocs/compta/facture.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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"); } }