Skip to content

Commit

Permalink
Fix access of undefined variable in function html_print_logo
Browse files Browse the repository at this point in the history
  • Loading branch information
atrol committed Jun 15, 2016
1 parent 6e8083d commit dc1dfe1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/html_api.php
Expand Up @@ -331,7 +331,7 @@ function html_print_logo( $p_logo = null ) {
echo '<a id="logo-link" href="', config_get( 'logo_url' ), '">';
}
$t_alternate_text = string_html_specialchars( config_get( 'window_title' ) );
echo '<img id="logo-image" alt="', $t_alternate_text, '" style="max-height: 80px;" src="' . helper_mantis_url( $t_logo_image ) . '" />';
echo '<img id="logo-image" alt="', $t_alternate_text, '" style="max-height: 80px;" src="' . helper_mantis_url( $p_logo ) . '" />';
if( $t_show_url ) {
echo '</a>';
}
Expand Down

0 comments on commit dc1dfe1

Please sign in to comment.