diff --git a/Source/pages/view.php b/Source/pages/view.php index 57c12b2..946aa96 100644 --- a/Source/pages/view.php +++ b/Source/pages/view.php @@ -22,6 +22,14 @@ $t_changeset->load_bugs(); bug_cache_array_rows( $t_changeset->bugs ); +$t_bug_rows = array(); +foreach( $t_changeset->bugs as $t_bug_id ) { + $t_bug_row = bug_cache_row( $t_bug_id, false ); + if ( false === $t_bug_row ) { continue; } + + $t_bug_rows[$t_bug_id] = $t_bug_row; +} + $t_repos = SourceRepo::load_by_changesets( $t_changeset ); if ( count( $t_repos ) < 1 ) { trigger_error( ERROR_GENERIC, ERROR ); @@ -119,7 +127,6 @@ -bugs ) > 0 ) { ?> > @@ -129,19 +136,23 @@ bugs as $t_bug_id ) { - $t_bug = bug_get( $t_bug_id ); +foreach ( $t_bug_rows as $t_bug_id => $t_bug_row ) { echo ( $t_first ? '' : '' ); ?> -', bug_format_id( $t_bug_id ), ': ', string_display_line( $t_bug->summary ) ?> +', bug_format_id( $t_bug_id ), ': ', string_display_line( $t_bug_row['summary'] ) ?> id . '&bug_id=' . $t_bug_id . form_security_param( 'plugin_Source_detach' ), plugin_lang_get( 'detach' ) ) ?> - - > + +> + +