]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 425599 รข\80\93 show_activity missing space for attachment flag changes
authorbbaetz%acm.org <>
Wed, 2 Apr 2008 05:23:02 +0000 (05:23 +0000)
committerbbaetz%acm.org <>
Wed, 2 Apr 2008 05:23:02 +0000 (05:23 +0000)
r/a=lpsolit

Bugzilla/Bug.pm
template/en/default/bug/activity/table.html.tmpl

index 5694ac3515a2d2a7a3444292da492f106420d4d7..3d4c4b869c61c363ddbfc67bd7e88f9af3d9bf6a 100755 (executable)
@@ -2892,7 +2892,7 @@ sub GetBugActivity {
 
         if ($activity_visible) {
             # This gets replaced with a hyperlink in the template.
-            $field =~ s/^Attachment// if $attachid;
+            $field =~ s/^Attachment\s*// if $attachid;
 
             # Check for the results of an old Bugzilla data corruption bug
             $incomplete_data = 1 if ($added =~ /^\?/ || $removed =~ /^\?/);
index c1e3c399044604392c1824698bdb0626ecc038c8..b676eb1c9d021e24925c53e2dcfddd55fc4e59f5 100644 (file)
@@ -73,7 +73,7 @@
                 <a href="attachment.cgi?id=[% change.attachid %]">
                 Attachment #[% change.attachid %]</a>
               [% END %]
-              [% change.field %]
+              [%+ change.field %]
             </td>
             <td>
               [% IF change.removed.defined %]