From 7bb5a1404598d3f1d48997fc2a47bb69091dc118 Mon Sep 17 00:00:00 2001 From: "jake%bugzilla.org" Date: Sat, 9 Nov 2002 19:21:03 +0000 Subject: [PATCH] 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 git-svn-id: svn://10.0.0.236/trunk@133499 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/processmail | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/webtools/bugzilla/processmail b/mozilla/webtools/bugzilla/processmail index a7663149f8c..a4b05ff0c5a 100755 --- a/mozilla/webtools/bugzilla/processmail +++ b/mozilla/webtools/bugzilla/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);