summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/Extension.pm
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/BMO/Extension.pm')
-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*//;