From: <gi...@ma...> - 2009-07-16 15:45:35
|
The branch, master has been updated via b413fc4dc46bed8d25be4a611fd42573b0ea3204 (commit) from 1714e8078eb118f3a9834b880a33e69f4fc513de (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit b413fc4dc46bed8d25be4a611fd42573b0ea3204 Author: John Reese <jr...@le...> Date: Thu Jul 16 11:43:58 2009 -0400 Fix #10741: Additional info field displays empty Also fixes PHP notices about undeclared variables due to three variables being assigned inside a conditional. ----------------------------------------------------------------------- Summary of changes: bug_view_inc.php | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) ----------------------------------------------------------------------- commit b413fc4dc46bed8d25be4a611fd42573b0ea3204 Author: John Reese <jr...@le...> Date: Thu Jul 16 11:43:58 2009 -0400 Fix #10741: Additional info field displays empty Also fixes PHP notices about undeclared variables due to three variables being assigned inside a conditional. diff --git a/bug_view_inc.php b/bug_view_inc.php index 874f954..1caafab 100644 --- a/bug_view_inc.php +++ b/bug_view_inc.php @@ -79,11 +79,11 @@ $tpl_show_target_version = $tpl_show_product_version && in_array( BUG_FIELD_TARGET_VERSION, $t_fields ) && access_has_bug_level( config_get( 'roadmap_view_threshold' ), $f_bug_id ); - if ( $tpl_show_product_version || $tpl_show_fixed_in_version || $tpl_show_target_version ) { - $tpl_product_version_string = ''; - $tpl_target_version_string = ''; - $tpl_fixed_in_version_string = ''; + $tpl_product_version_string = ''; + $tpl_target_version_string = ''; + $tpl_fixed_in_version_string = ''; + if ( $tpl_show_product_version || $tpl_show_fixed_in_version || $tpl_show_target_version ) { $t_version_rows = version_get_all_rows( $tpl_bug->project_id ); if ( $tpl_show_product_version ) { @@ -189,7 +189,7 @@ $tpl_summary = $tpl_show_summary ? string_display_line_links( bug_format_summary( $f_bug_id, SUMMARY_FIELD ) ) : ''; $tpl_description = $tpl_show_description ? string_display_links( $tpl_bug->description ) : ''; $tpl_steps_to_reproduce = $tpl_show_steps_to_reproduce ? string_display_links( $tpl_bug->steps_to_reproduce ) : ''; - $tpl_show_additional_information = $tpl_show_additional_information ? string_display_links( $tpl_bug->additional_information ) : ''; + $tpl_additional_information = $tpl_show_additional_information ? string_display_links( $tpl_bug->additional_information ) : ''; $tpl_links = event_signal( 'EVENT_MENU_ISSUE', $f_bug_id ); ----------------------------------------------------------------------- -- Mantis Bug Tracker |