// Fixed AdminPPreferencesController::postProcess()
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@14397 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -291,7 +291,11 @@ class AdminPPreferencesControllerCore extends AdminController
|
|||||||
s.`quantity` = 0
|
s.`quantity` = 0
|
||||||
WHERE s.`depends_on_stock` = '.($advanced_stock_management == 1 ? 0 : 1));
|
WHERE s.`depends_on_stock` = '.($advanced_stock_management == 1 ? 0 : 1));
|
||||||
}
|
}
|
||||||
|
|
||||||
// deletes from post since it's not a configuration variable..
|
// deletes from post since it's not a configuration variable..
|
||||||
unset($_POST['UPDATE_ASM_PRODUCTS']);
|
if (Tools::isSubmit('UPDATE_ASM_PRODUCTS'))
|
||||||
|
unset($_POST['UPDATE_ASM_PRODUCTS']);
|
||||||
|
|
||||||
|
return parent::postProcess();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user