diff --git a/core/summary_api.php b/core/summary_api.php index 36064cbacd..5b025c14cb 100644 --- a/core/summary_api.php +++ b/core/summary_api.php @@ -62,6 +62,25 @@ function summary_helper_print_row( $p_label, $p_open, $p_resolved, $p_closed, $p print( '' ); } +/** + * Returns a string representation of the user, together with a link to the issues + * acted on by the user ( reported, handled or commented on ) + * + * @param int $p_user_id + * @return string + */ +function summary_helper_get_developer_label ( $p_user_id ) { + + $t_user = string_display_line( user_get_name( $p_user_id ) ); + + return "$t_user"; + +} + # Used in summary reports # this function prints out the summary for the given enum setting # The enum field name is passed in through $p_enum @@ -837,7 +856,7 @@ function summary_print_developer_resolution( $p_resolution_enum_string ) { echo ''; $t_row_count++; echo ''; - echo string_display_line( user_get_name( $t_handler_id ) ); + echo summary_helper_get_developer_label( $t_handler_id ); echo ''; # We need to track the percentage of bugs that are considered fixed, as well as