From: bbaetz%acm.org <> Date: Wed, 2 Apr 2008 05:23:02 +0000 (+0000) Subject: Bug 425599 â show_activity missing space for attachment flag changes X-Git-Tag: bugzilla-3.1.3~254 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e4b8f785d87afacbf432f6985a3d906b35bba21;p=thirdparty%2Fbugzilla.git Bug 425599 â show_activity missing space for attachment flag changes r/a=lpsolit --- diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 5694ac3515..3d4c4b869c 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 c1e3c39904..b676eb1c9d 100644 --- a/template/en/default/bug/activity/table.html.tmpl +++ b/template/en/default/bug/activity/table.html.tmpl @@ -73,7 +73,7 @@ Attachment #[% change.attachid %] [% END %] - [% change.field %] + [%+ change.field %]