// 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:
bMancone
2012-04-02 08:04:27 +00:00
parent 2351861f0a
commit d4b33be2e4

View File

@@ -291,7 +291,11 @@ class AdminPPreferencesControllerCore extends AdminController
s.`quantity` = 0
WHERE s.`depends_on_stock` = '.($advanced_stock_management == 1 ? 0 : 1));
}
// 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();
}
}