Modif pour register_global=off

This commit is contained in:
Rodolphe Quiedeville 2004-07-13 13:28:30 +00:00
parent 7c27a410a0
commit bb3f6c5d3c

View File

@ -206,10 +206,10 @@ if ($_POST["action"] == 'confirm_valid' && $_POST["confirm"] == yes && $user->ri
}
}
if ($action == 'payed' && $user->rights->facture->paiement)
if ($_GET["action"] == 'payed' && $user->rights->facture->paiement)
{
$fac = new Facture($db);
$result = $fac->set_payed($facid);
$result = $fac->set_payed($_GET["facid"]);
}
if ($action == 'canceled' && $user->rights->facture->paiement)