// Fix stock on shop import

This commit is contained in:
rGaillard
2012-02-29 10:45:22 +00:00
parent 0a09da7cda
commit 1b88a7a9ad
2 changed files with 2 additions and 2 deletions
+1 -2
View File
@@ -319,7 +319,7 @@ class AdminShopControllerCore extends AdminController
if (Tools::isSubmit('id_shop'))
{
$shop = new Shop(Tools::getValue('id_shop'));
$shop = new Shop((int)Tools::getValue('id_shop'));
$parent = $shop->id_category;
}
else
@@ -405,7 +405,6 @@ class AdminShopControllerCore extends AdminController
'stock_available' => $this->l('Available quantities for sale'),
'store' => $this->l('Stores'),
'warehouse' => $this->l('Warehouse'),
'stock_available' => $this->l('Stock Available'),
);
if (!$this->object->id)