summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xBugzilla/Bug.pm2
-rw-r--r--template/en/default/bug/activity/table.html.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm
index 5694ac351..3d4c4b869 100755
--- a/Bugzilla/Bug.pm
+++ b/Bugzilla/Bug.pm
@@ -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 =~ /^\?/);
diff --git a/template/en/default/bug/activity/table.html.tmpl b/template/en/default/bug/activity/table.html.tmpl
index c1e3c3990..b676eb1c9 100644
--- a/template/en/default/bug/activity/table.html.tmpl
+++ b/template/en/default/bug/activity/table.html.tmpl
@@ -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 %]