bugfix
This commit is contained in:
parent
1ec055e1b5
commit
e2bb182a77
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user