// Fixed #PSTEST-1146

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14676 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
bMancone committed 2012-04-17 09:49:55 +00:00
1 parent d9e01b3375
commit caf154c77d
1 file changed
+7
@@ -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();
} }
} }