Skip to content

Commit 254946b

Browse files
committed
Stop using string_display_line to output bug id
Issue #34465
1 parent f1f827c commit 254946b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bug_view_inc.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -921,11 +921,11 @@ function bug_view_relationship_get_details( $p_bug_id, BugRelationshipData $p_re
921921
if( !$p_html_preview ) {
922922
# choose color based on status
923923
$t_status_css = html_get_status_css_fg( $t_bug->status, $t_current_user_id, $t_bug->project_id );
924-
$t_relationship_info_html .= '<td><a href="' . string_get_bug_view_url( $t_related_bug_id ) . '">' . string_display_line( bug_format_id( $t_related_bug_id ) ) . '</a></td>';
924+
$t_relationship_info_html .= '<td><a href="' . string_get_bug_view_url( $t_related_bug_id ) . '">' . bug_format_id( $t_related_bug_id ) . '</a></td>';
925925
$t_relationship_info_html .= '<td>' . icon_get( 'fa-square', 'fa-status-box ' . $t_status_css );
926926
$t_relationship_info_html .= ' <span class="issue-status" title="' . string_attribute( $t_resolution_string ) . '">' . string_attribute( $t_status_string ) . '</span></td>';
927927
} else {
928-
$t_relationship_info_html .= $t_td . string_display_line( bug_format_id( $t_related_bug_id ) ) . '</td>';
928+
$t_relationship_info_html .= $t_td . bug_format_id( $t_related_bug_id ) . '</td>';
929929
$t_relationship_info_html .= $t_td . string_attribute( $t_status_string ) . '&#160;</td>';
930930
}
931931

0 commit comments

Comments
 (0)