From 991ee6eee704b673ee7664d269d25cf71050fe8c Mon Sep 17 00:00:00 2001 From: Laurent Destailleur <eldy@users.sourceforge.net> Date: Tue, 6 May 2008 23:58:30 +0000 Subject: [PATCH] Fix: Warning when deleting order --- htdocs/commande/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/commande/fiche.php b/htdocs/commande/fiche.php index 41b1efcb28c..c46d551c769 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; } -- GitLab