Bug 762785: Attachments are attached to the wrong comment when created by email_in.pl

r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@263972 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org
2012-06-20 22:30:42 +00:00
parent 75f13a6942
commit c43c81eb2d
2 changed files with 3 additions and 2 deletions

View File

@@ -1 +1 @@
8266
8267

View File

@@ -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);
}