diff --git a/admin/check/check_config_inc.php b/admin/check/check_config_inc.php index 122be1699e..e286af90f0 100644 --- a/admin/check/check_config_inc.php +++ b/admin/check/check_config_inc.php @@ -95,6 +95,22 @@ array( false => 'Issues moved may end up with invalid category id.' ) ); +$t_field_options = array( + 'bug_report_page_fields', + 'bug_view_page_fields', + 'bug_update_page_fields' +); + +foreach( $t_field_options as $t_field_option ) { + $t_fields = config_get( $t_field_option, null, ALL_USERS, ALL_PROJECTS ); + check_print_test_warn_row( + $t_field_option . ' configuration option does not contain "os_version"', + !in_array ( 'os_version', $t_fields ), + array( false => 'You need to replace "os_version" by "os_build" for the ' . $t_field_option . ' configuration option ' + . '(see issue #26840).') + ); +} + # Deprecated Settings check_print_test_warn_row( 'Deprecated "limit_reporters" setting should no longer be used', $g_limit_reporters == OFF,