From: Victor B. <vb...@us...> - 2004-05-24 12:45:50
|
Update of /cvsroot/mantisbt/mantisbt/core In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv4840/core Modified Files: email_api.php Log Message: Support fixed_in_version in email notifications. Index: email_api.php =================================================================== RCS file: /cvsroot/mantisbt/mantisbt/core/email_api.php,v retrieving revision 1.82 retrieving revision 1.83 diff -u -d -r1.82 -r1.83 --- email_api.php 22 May 2004 07:33:17 -0000 1.82 +++ email_api.php 24 May 2004 12:45:40 -0000 1.83 @@ -750,10 +750,11 @@ } # end foreach custom field - if ( config_get( 'bug_resolved_status_threshold' ) == $t_status ) { + if ( config_get( 'bug_resolved_status_threshold' ) <= $t_status ) { $p_visible_bug_data['email_resolution'] = get_enum_element( 'resolution', $p_visible_bug_data['email_resolution'] ); $t_message .= email_format_attribute( $p_visible_bug_data, 'email_resolution' ); $t_message .= email_format_attribute( $p_visible_bug_data, 'email_duplicate' ); + $t_message .= email_format_attribute( $p_visible_bug_data, 'email_fixed_in_version' ); } $t_message .= $t_email_separator1."\n"; @@ -871,6 +872,7 @@ $t_bug_data['email_reproducibility'] = $row['reproducibility']; $t_bug_data['email_resolution'] = $row['resolution']; + $t_bug_data['email_fixed_in_version'] = $row['fixed_in_version']; if ( DUPLICATE == $row['resolution'] ) { $t_bug_data['email_duplicate'] = $row['duplicate_id']; |