Bugfixes lors de la suppression

This commit is contained in:
Rodolphe Quiedeville 2004-11-23 10:42:47 +00:00
parent 922b548118
commit 865000081e

View File

@ -141,7 +141,7 @@ if ($_POST["action"] == 'updateligne' && $user->rights->commande->creer)
}
}
if ($action == 'deleteline' && $user->rights->commande->creer)
if ($_GET["action"] == 'deleteline' && $user->rights->commande->creer)
{
$commande = new Commande($db);
$commande->fetch($_GET["id"]);