Fix: Warning when deleting order

This commit is contained in:
Laurent Destailleur 2008-05-06 23:58:30 +00:00
parent faeb6fd60f
commit 991ee6eee7

View File

@ -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;
}