// BugFix
This commit is contained in:
@@ -1231,10 +1231,7 @@ class AdminControllerCore extends Controller
|
|||||||
{
|
{
|
||||||
if (Tab::checkTabRights($tab['id_tab']) === true)
|
if (Tab::checkTabRights($tab['id_tab']) === true)
|
||||||
{
|
{
|
||||||
if ($tab['name'] == 'Stock'
|
if ($tab['name'] == 'Stock' && Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') == 0)
|
||||||
&& Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') == 0
|
|
||||||
&& (int)$product['advanced_stock_management'] == 1
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
unset($tabs[$index]);
|
unset($tabs[$index]);
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user