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:
@@ -1 +1 @@
|
||||
8266
|
||||
8267
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user