Skip to content

Commit

Permalink
Use config_get_global for show_detailed_errors
Browse files Browse the repository at this point in the history
Issue #23626
  • Loading branch information
atrol committed Nov 13, 2017
1 parent 3fe27b8 commit a8427f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login_page.php
Expand Up @@ -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';
Expand Down

0 comments on commit a8427f1

Please sign in to comment.