Commit b4be98c0 authored by jake%bugzilla.org's avatar jake%bugzilla.org

Bug 179188 - The new flag system wasn't indicating which attachment a flag was…

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
parent c3fd1468
...@@ -183,7 +183,7 @@ sub ProcessOneBug { ...@@ -183,7 +183,7 @@ sub ProcessOneBug {
$diffheader .= FormatTriple("What ", "Removed", "Added"); $diffheader .= FormatTriple("What ", "Removed", "Added");
$diffheader .= ('-' x 76) . "\n"; $diffheader .= ('-' x 76) . "\n";
} }
$what =~ s/^Attachment/Attachment #$attachid/ if $attachid; $what =~ s/^(Attachment )?/Attachment #$attachid / if $attachid;
if( $fieldname eq 'estimated_time' || if( $fieldname eq 'estimated_time' ||
$fieldname eq 'remaining_time' ) { $fieldname eq 'remaining_time' ) {
$old = FormatTimeUnit($old); $old = FormatTimeUnit($old);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment