// BugFix

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11380 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
mDeflotte
2011-12-19 16:19:31 +00:00
parent 2c60a188d9
commit 1c3f989220
+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;