Fix carrier name for delete action

This commit is contained in:
Michael RICOIS 2018-01-17 14:55:15 +01:00
parent 741b69f733
commit 9670db71e9

View File

@ -138,7 +138,7 @@ class AdminLogistics extends AdminTab
&& ( $delete_number = Tools::getValue('delete_number') )) {
// Suppression LAPOSTE
if ($delete = (int) Tools::getValue('delete_soflexibilite')) {
if ($delete = (int) Tools::getValue('delete_laposte')) {
Db::getInstance()->ExecuteS('
DELETE FROM `'._DB_PREFIX_.'lapostews`
WHERE `id_order_detail` = '.$delete.'