From: jake%bugzilla.org <> Date: Sun, 10 Nov 2002 03:21:03 +0000 (+0000) Subject: Bug 179188 - The new flag system wasn't indicating which attachment a flag was change... X-Git-Tag: bugzilla-2.17.2~88 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4be98c0a5c699704ee864f30b3dedd618876f37;p=thirdparty%2Fbugzilla.git 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 --- diff --git a/processmail b/processmail index a7663149f8..a4b05ff0c5 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);