Fixed security check for last tab in tabbed_content.
[fa-stable.git] / inventory / manage / items.php
index 5ac1f7506bf1c2e8ed6dea79fe3198ec41abe037..86472085096af87271f32e82bc3548a3a5b5befe 100644 (file)
@@ -591,8 +591,7 @@ $tabs = (get_post('fixed_asset'))
                'reorder_level' => array(_('&Reorder Levels'), (is_inventory_item($stock_id) && 
                        user_check_access('SA_REORDER') ? $stock_id : null)),
                'movement' => array(_('&Transactions'), (user_check_access('SA_ITEMSTRANSVIEW') ? $stock_id : null)),
-               'status' => array(_('&Status'), $stock_id),
-               //'status' => array(_('&Status'), (user_check_access('SA_ITEMSSTATVIEW') ? $stock_id : null)),
+               'status' => array(_('&Status'), (user_check_access('SA_ITEMSSTATVIEW') ? $stock_id : null)),
        );
 
 tabbed_content_start('tabs', $tabs);