// Fixed #PSTEST-1146

This commit is contained in:
bMancone
2012-04-17 09:49:55 +00:00
parent fd6e11b941
commit ddb242c8a6
@@ -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();
} }
} }