[-] BO: Fix bugs with stock management
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@16121 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -3799,7 +3799,7 @@ class AdminProductsControllerCore extends AdminController
|
||||
if (!Tools::getValue('actionQty'))
|
||||
return Tools::jsonEncode(array('error' => $this->l('Undefined action')));
|
||||
|
||||
$product = new Product((int)Tools::getValue('id_product'));
|
||||
$product = new Product((int)Tools::getValue('id_product'), true);
|
||||
switch (Tools::getValue('actionQty'))
|
||||
{
|
||||
case 'depends_on_stock':
|
||||
|
||||
Reference in New Issue
Block a user