Skip to content

Commit

Permalink
Use config_get_global to access webmaster_email
Browse files Browse the repository at this point in the history
Issue #27884
  • Loading branch information
atrol committed Jan 30, 2021
1 parent 4449da2 commit 1c96a98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/layout_api.php
Expand Up @@ -1161,7 +1161,7 @@ function layout_footer() {

# Show contact information
if( !is_page_name( 'login_page' ) ) {
$t_webmaster_contact_information = sprintf( lang_get( 'webmaster_contact_information' ), string_html_specialchars( config_get( 'webmaster_email' ) ) );
$t_webmaster_contact_information = sprintf( lang_get( 'webmaster_contact_information' ), string_html_specialchars( config_get_global( 'webmaster_email' ) ) );
echo '<small>' . $t_webmaster_contact_information . '</small>' . '<br>' . "\n";
}

Expand Down

0 comments on commit 1c96a98

Please sign in to comment.