]> 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:08 +0000 (05:23 +0000)
committerbbaetz%acm.org <>
Wed, 2 Apr 2008 05:23:08 +0000 (05:23 +0000)
r/a=lpsolit

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

index 80026000d2fb6c357e1d90e7bc8c63e654aa7c61..6b6a093ea64e90f26ce75fccc5e847a7ece10059 100755 (executable)
@@ -1616,7 +1616,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 5bfb79f377e2d08dbb783460b3886abcea865734..18711e418e695a9b88980204ce36f3dc57e76a3b 100644 (file)
@@ -74,7 +74,7 @@
                 <a href="attachment.cgi?id=[% change.attachid %]">
                 Attachment #[% change.attachid %]</a>
               [% END %]
-              [% change.field %]
+              [%+ change.field %]
             </td>
             <td>
               [% IF change.removed.defined %]