summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorByron Jones <bjones@mozilla.com>2013-05-09 08:42:47 +0200
committerByron Jones <bjones@mozilla.com>2013-05-09 08:42:47 +0200
commit18366bfc65096883510d8b14449a763c804a2250 (patch)
treeb406ad732359aaaefdba10d380028bb4f8f07c6f /extensions/BMO
parent6b36bc910ec0e913cc052fa3ebfff95265031a7b (diff)
downloadbugzilla-18366bfc65096883510d8b14449a763c804a2250.tar.gz
bugzilla-18366bfc65096883510d8b14449a763c804a2250.tar.xz
Bug 863686: "Congratulations" email received for first approval+ instead of first review+ (part two)
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/Extension.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/BMO/Extension.pm b/extensions/BMO/Extension.pm
index 030dcbeab..311c3fe6a 100644
--- a/extensions/BMO/Extension.pm
+++ b/extensions/BMO/Extension.pm
@@ -924,7 +924,7 @@ sub _log_sent_email {
} else {
$message_type = $email->header('X-Bugzilla-Watch-Reason');
}
- $message_type ||= '?';
+ $message_type ||= $type || '?';
$subject =~ s/[\[\(]Bug \d+[\]\)]\s*//;