]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 179188 - The new flag system wasn't indicating which attachment a flag was change...
authorjake%bugzilla.org <>
Sun, 10 Nov 2002 03:21:03 +0000 (03:21 +0000)
committerjake%bugzilla.org <>
Sun, 10 Nov 2002 03:21:03 +0000 (03:21 +0000)
r=myk
a=myk

processmail

index a7663149f8c04267363c5744917bc5fa978911a7..a4b05ff0c5a9a9e09f0c7662f954d93db1ee6f5e 100755 (executable)
@@ -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);