From: lpsolit%gmail.com <> Date: Tue, 15 Aug 2006 03:15:15 +0000 (+0000) Subject: Bug 330485: Attachment links in comments still say "edit" instead of "details" -... X-Git-Tag: bugzilla-2.23.3~155 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3;p=thirdparty%2Fbugzilla.git Bug 330485: Attachment links in comments still say "edit" instead of "details" - Patch by victory(_RSZ_) r=LpSolit a=myk --- diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 756c3cc44e..58008900f7 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -379,12 +379,12 @@ sub get_attachment_link { # Prevent code injection in the title. $title = value_quote($title); - $link_text =~ s/ \[edit\]$//; + $link_text =~ s/ \[details\]$//; my $linkval = "attachment.cgi?id=$attachid&action="; # Whitespace matters here because these links are in
 tags.
         return qq||
                . qq|$link_text|
-               . qq| [edit]|
+               . qq| [details]|
                . qq||;
     }
     else {