Topic: Setup -> System Diagnostics : Wrong Menu Permission: Fix

Setup -> System Diagnostics -> Not allowed for System Administrator for non 0 (non default) company.

It should not show up (must be greyed out) in a non default (non zero company) menu?

Line 62 of applications/setup.php:

    "admin/system_diagnostics.php?", 'SA_OPEN', MENU_SYSTEM);

should be:

    "admin/system_diagnostics.php?", 'SA_SOFTWAREUPGRADE', MENU_SYSTEM);

Filed Bug 1879.