summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjake%bugzilla.org <>2002-11-10 04:21:03 +0100
committerjake%bugzilla.org <>2002-11-10 04:21:03 +0100
commitb4be98c0a5c699704ee864f30b3dedd618876f37 (patch)
treecaf90ad4e3e6a42893458c085c32dd93aa5fe6f6
parentc3fd1468a56d744acc63c990312fb35b0bc8a431 (diff)
downloadbugzilla-b4be98c0a5c699704ee864f30b3dedd618876f37.tar.gz
bugzilla-b4be98c0a5c699704ee864f30b3dedd618876f37.tar.xz
Bug 179188 - The new flag system wasn't indicating which attachment a flag was changed on. This patch inserts the attachment ID any time it exists in the activity log (to match what show_activity does).
r=myk a=myk
-rwxr-xr-xprocessmail2
1 files changed, 1 insertions, 1 deletions
diff --git a/processmail b/processmail
index a7663149f..a4b05ff0c 100755
--- a/processmail
+++ b/processmail
@@ -183,7 +183,7 @@ sub ProcessOneBug {
$diffheader .= FormatTriple("What ", "Removed", "Added");
$diffheader .= ('-' x 76) . "\n";
}
- $what =~ s/^Attachment/Attachment #$attachid/ if $attachid;
+ $what =~ s/^(Attachment )?/Attachment #$attachid / if $attachid;
if( $fieldname eq 'estimated_time' ||
$fieldname eq 'remaining_time' ) {
$old = FormatTimeUnit($old);