diff --git a/core/relationship_api.php b/core/relationship_api.php index d2d957f4a1..5bdbfb3236 100644 --- a/core/relationship_api.php +++ b/core/relationship_api.php @@ -6,7 +6,7 @@ # See the README and LICENSE files for details # -------------------------------------------------------- - # $Id: relationship_api.php,v 1.15 2004-07-29 10:47:25 thraxisp Exp $ + # $Id: relationship_api.php,v 1.16 2004-08-01 05:20:08 vboctor Exp $ # -------------------------------------------------------- ### Relationship API ### @@ -437,7 +437,7 @@ function relationship_get_details( $p_bug_id, $p_relationship, $p_html = false, $t_relationship_info_text .= "\n"; if ( $p_html_preview == false ) { - $t_relationship_info_html = '' . $t_td . $t_relationship_info_html . ' '; + $t_relationship_info_html = '' . $t_td . $t_relationship_info_html . ' '; } else { $t_relationship_info_html = '' . $t_td . $t_relationship_info_html . ' '; @@ -470,11 +470,11 @@ function relationship_get_summary_html( $p_bug_id ) { } if ( relationship_can_resolve_bug( $p_bug_id ) == false ) { - $t_summary .= '' . lang_get( 'relationship_warning_blocking_bugs_not_resolved' ) . ''; + $t_summary .= '' . lang_get( 'relationship_warning_blocking_bugs_not_resolved' ) . ''; } - if ( $t_summary != '' ) { - $t_summary = '' . $t_summary . '
'; + if ( !is_blank( $t_summary ) ) { + $t_summary = '' . $t_summary . '
'; } return $t_summary; @@ -549,13 +549,12 @@ function relationship_view_box( $p_bug_id ) { - - + + +
+