// BugFix

This commit is contained in:
mDeflotte
2011-12-19 16:19:31 +00:00
parent 8ffb0864a3
commit 9838d00cbd
+1 -4
View File
@@ -1231,10 +1231,7 @@ class AdminControllerCore extends Controller
{
if (Tab::checkTabRights($tab['id_tab']) === true)
{
if ($tab['name'] == 'Stock'
&& Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') == 0
&& (int)$product['advanced_stock_management'] == 1
)
if ($tab['name'] == 'Stock' && Configuration::get('PS_ADVANCED_STOCK_MANAGEMENT') == 0)
{
unset($tabs[$index]);
continue;