Modif register_global
This commit is contained in:
parent
f59e2db19e
commit
16e3bd6960
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user