diff --git a/mozilla/webtools/bugzilla/.bzrrev b/mozilla/webtools/bugzilla/.bzrrev index 7c432645bf8..cabc72c75ea 100644 --- a/mozilla/webtools/bugzilla/.bzrrev +++ b/mozilla/webtools/bugzilla/.bzrrev @@ -1 +1 @@ -8266 \ No newline at end of file +8267 \ No newline at end of file diff --git a/mozilla/webtools/bugzilla/email_in.pl b/mozilla/webtools/bugzilla/email_in.pl index 3b684b0fcc3..53b5ac2a888 100755 --- a/mozilla/webtools/bugzilla/email_in.pl +++ b/mozilla/webtools/bugzilla/email_in.pl @@ -233,7 +233,8 @@ sub process_bug { my $added_comment; if (trim($fields{'comment'})) { - $added_comment = $bug->comments->[-1]; + # The "old" bug object doesn't contain the comment we just added. + $added_comment = Bugzilla::Bug->check($bug_id)->comments->[-1]; } return ($bug, $added_comment); }