Skip to content

Commit

Permalink
Consistent initialization of $t_version_suffix
Browse files Browse the repository at this point in the history
Variable $t_version_suffix was not initialized in the same manner in
admin/index.php as in html_footer().

Affects #13684
  • Loading branch information
dregad committed Dec 15, 2011
1 parent f310ad9 commit 8991cf9
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions admin/index.php
Expand Up @@ -56,8 +56,12 @@ function print_info_row( $p_description, $p_value ) {
<td class="form-title" width="30%" colspan="2"><?php echo lang_get( 'install_information' ) ?></td>
</tr>
<?php
$t_version_suffix = config_get_global( 'version_suffix' );
print_info_row( lang_get( 'mantis_version' ), MANTIS_VERSION, ( $t_version_suffix ? " $t_version_suffix" : '' ) );
if( ON == config_get( 'show_version' ) ) {
$t_version_suffix = config_get_global( 'version_suffix' );
} else {
$t_version_suffix = '';
}
print_info_row( lang_get( 'mantis_version' ), MANTIS_VERSION, $t_version_suffix );
print_info_row( 'php_version', phpversion());
?>
<tr>
Expand Down

0 comments on commit 8991cf9

Please sign in to comment.