diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 41b1efcb28c070bd65655dc3aa676326b5c78207..c46d551c7696c666452fcebd13a62ea236002a81 100644 --- a/htdocs/commande/fiche.php +++ b/htdocs/commande/fiche.php @@ -82,7 +82,7 @@ if ($_REQUEST['action'] == 'confirm_delete' && $_REQUEST['confirm'] == 'yes') { $commande = new Commande($db); $commande->fetch($_GET['id']); - $commande->delete(); + $commande->delete($user); Header('Location: index.php'); exit; }