Commit f19b1b0a authored by myk%mozilla.org's avatar myk%mozilla.org

Fix for bug 146261: fixes bug preventing the sending of email to users when the…

Fix for bug 146261: fixes bug preventing the sending of email to users when the status of bugs changes in some situations. Patch by Tim Taylor <ttaylor@mitre.org>. r=myk,bbaetz
parent 6538d5c8
......@@ -414,10 +414,8 @@ sub getEmailAttributes ($@) {
# the STATUS will be flagged for Severity, Status and
# Priority changes
#
if ( $fieldName eq 'Status') {
if ($new eq 'RESOLVED' || $new eq 'VERIFIED') {
push (@flags, 'Resolved');
}
if ( $fieldName eq 'Status' && ($new eq 'RESOLVED' || $new eq 'VERIFIED')) {
push (@flags, 'Resolved');
}
elsif ( $fieldName eq 'Severity' || $fieldName eq 'Status' ||
$fieldName eq 'Priority' ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment