diff --git a/scripts/bug_reminder_mail.php b/scripts/bug_reminder_mail.php index 30ddbde..03e6b54 100644 --- a/scripts/bug_reminder_mail.php +++ b/scripts/bug_reminder_mail.php @@ -183,21 +183,22 @@ if ($manager==$man2){ $list .=" \n\n"; if ( ON == $t_details ) { - $list = formatBugEntry($row1); + $list .= formatBugEntry($row1); } else { - $list = string_get_bug_view_url_with_fqdn( $id, $man2 ); + $list .= string_get_bug_view_url_with_fqdn( $id, $man2 ); } } else { // now send the grouped email + $list .=" \n\n"; $body = $t_rem_body1. " \n\n"; $body .= $list. " \n\n"; $body .= $t_rem_body2; $result = email_group_reminder( $man2, $body); $man2 = $manager ; if ( ON == $t_details ) { - $list = formatBugEntry($row1); + $list .= formatBugEntry($row1); } else { - $list = string_get_bug_view_url_with_fqdn( $id, $man2 ); + $list .= string_get_bug_view_url_with_fqdn( $id, $man2 ); } $list .= " \n\n"; } @@ -260,4 +261,4 @@ function formatBugEntry($data){ $t_message .= $t_email_separator1 . " \n\n\n"; return $t_message; -} \ No newline at end of file +}