diff --git a/html/inc/result.inc b/html/inc/result.inc index f99fb20ba0..a108073b19 100644 --- a/html/inc/result.inc +++ b/html/inc/result.inc @@ -351,7 +351,10 @@ function result_table_start($show_wu_link, $show_host_link, $info) { echo "".tra("Work unit")."
".tra("click for details")."\n"; } if (function_exists('project_result_info_heading')) { - echo "", project_result_info_heading(), "\n"; + $x = project_result_info_heading(); + if ($x) { + echo "$x\n"; + } } if ($show_host_link) { echo "".tra("Computer")."\n"; @@ -412,7 +415,10 @@ function show_result_row( echo "workunitid\">$result->workunitid\n"; } if (function_exists('project_result_info_link')) { - echo "", project_result_info_link($result), "\n"; + $x = project_result_info_link($result); + if ($x) { + echo "$x\n"; + } } if ($show_host_link) { echo "", host_link($result->hostid), "\n";