diff --git a/login_page.php b/login_page.php index 670226879e..6d52a30450 100644 --- a/login_page.php +++ b/login_page.php @@ -166,7 +166,7 @@ function debug_setting_message ( $p_type, $p_setting, $p_value ) { } $t_config = 'show_detailed_errors'; - if( config_get( $t_config ) != OFF ) { + if( config_get_global( $t_config ) != OFF ) { $t_warnings[] = debug_setting_message( 'security', $t_config, 'OFF' ); } $t_config = 'display_errors';