[-] BO : Can not set PS_ORDER_OUT_OF_STOCK in one shop
This commit is contained in:
@@ -223,7 +223,7 @@ class AdminPPreferencesControllerCore extends AdminController
|
||||
|
||||
public function beforeUpdateOptions()
|
||||
{
|
||||
if (!Tools::getValue('PS_STOCK_MANAGEMENT'))
|
||||
if (!Tools::getValue('PS_STOCK_MANAGEMENT', true))
|
||||
{
|
||||
$_POST['PS_ORDER_OUT_OF_STOCK'] = 1;
|
||||
$_POST['PS_DISPLAY_QTIES'] = 0;
|
||||
|
||||
Reference in New Issue
Block a user