// Fixed #PSTEST-1146
This commit is contained in:
1 parent
fd6e11b941
commit
ddb242c8a6
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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user