зеркало из https://github.com/mozilla/pjs.git
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
This commit is contained in:
Родитель
ed84382132
Коммит
ddafcc2df1
|
@ -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' ) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче