This commit is contained in:
Regis Houssin 2006-06-09 13:21:47 +00:00
parent 1ec055e1b5
commit e2bb182a77

View File

@ -287,7 +287,8 @@ if ($_POST['action'] == 'confirm_delete' && $_POST['confirm'] == 'yes')
if ($user->rights->commande->supprimer )
{
$commande = new Commande($db);
$commande->id = $_GET['id'];
//$commande->id = $_GET['id'];
$commande->fetch($_GET['id']);
$commande->delete();
Header('Location: index.php');
exit;