// AdminWarehousesController: fixed association with carriers. Warehouse: fixed association with carriers. Carrier: norm & tags. AdminProductsController: added warning when using the advanced stock management without assocations with warehouses/carriers

This commit is contained in:
bMancone
2011-12-22 11:09:33 +00:00
parent 072738a68c
commit 415e56d37e
4 changed files with 69 additions and 23 deletions
@@ -389,8 +389,7 @@ class AdminWarehousesControllerCore extends AdminController
$obj->setShops(Tools::getValue('ids_shops'));
// handles carriers associations
if (Tools::isSubmit('ids_carriers'))
$obj->setCarriers(Tools::getValue('ids_carriers'));
$obj->setCarriers(Tools::getValue('ids_carriers'));
// updates/creates address if it does not exist
if (Tools::isSubmit('id_address') && (int)Tools::getValue('id_address') > 0)