[-] BO: Fix #PSCFV-8422 it is now possible to manage minimal quantity even if stock management is disabled

This commit is contained in:
Rémi Gaillard
2013-03-25 16:48:57 +01:00
parent 2120d1f948
commit 3aba9f026b
2 changed files with 193 additions and 198 deletions
@@ -2206,10 +2206,6 @@ class AdminProductsControllerCore extends AdminController
foreach ($this->available_tabs as $product_tab => $value)
{
// if it's the quantities tab and stock management is disabled, continue
if ($stock_management_active == 0 && $product_tab == 'Quantities')
continue;
// if it's the warehouses tab and advanced stock management is disabled, continue
if ($advanced_stock_management_active == 0 && $product_tab == 'Warehouses')
continue;