Skip to content
Snippets Groups Projects
Commit 991ee6ee authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Warning when deleting order

parent faeb6fd6
Branches
Tags
No related merge requests found
...@@ -82,7 +82,7 @@ if ($_REQUEST['action'] == 'confirm_delete' && $_REQUEST['confirm'] == 'yes') ...@@ -82,7 +82,7 @@ if ($_REQUEST['action'] == 'confirm_delete' && $_REQUEST['confirm'] == 'yes')
{ {
$commande = new Commande($db); $commande = new Commande($db);
$commande->fetch($_GET['id']); $commande->fetch($_GET['id']);
$commande->delete(); $commande->delete($user);
Header('Location: index.php'); Header('Location: index.php');
exit; exit;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment