// Fixed #PSTEST-1146
This commit is contained in:
@@ -550,6 +550,13 @@ class AdminCarriersControllerCore extends AdminController
|
|||||||
$id = (int)Tools::getValue('id_'.$this->table);
|
$id = (int)Tools::getValue('id_'.$this->table);
|
||||||
Warehouse::removeCarrier($id);
|
Warehouse::removeCarrier($id);
|
||||||
}
|
}
|
||||||
|
else if (Tools::isSubmit($this->table.'Box') && count(Tools::isSubmit($this->table.'Box')) > 0)
|
||||||
|
{
|
||||||
|
$ids = Tools::getValue($this->table.'Box');
|
||||||
|
array_walk($ids, 'intval');
|
||||||
|
foreach ($ids as $id)
|
||||||
|
Warehouse::removeCarrier($id);
|
||||||
|
}
|
||||||
parent::postProcess();
|
parent::postProcess();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user