diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-26 06:03:28 +0200 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-07-26 06:03:28 +0200 |
commit | b46b9a026a3215ab086092a6d34188b3cd52baed (patch) | |
tree | 712ee05245eb929e2539b813bf61f9143d68b59b /email_in.pl | |
parent | 10e4e28f963ddba0ec592543cc7b9243ee59ea4e (diff) | |
parent | c1a71191995c59f93f4e11906fcec41602e40178 (diff) | |
download | bugzilla-b46b9a026a3215ab086092a6d34188b3cd52baed.tar.gz bugzilla-b46b9a026a3215ab086092a6d34188b3cd52baed.tar.xz |
merged with bugzilla/4.2
Diffstat (limited to 'email_in.pl')
-rwxr-xr-x | email_in.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/email_in.pl b/email_in.pl index ed4cf9a04..34e57c90c 100755 --- a/email_in.pl +++ b/email_in.pl @@ -235,7 +235,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); } |