From 91c2f3d9f263ba02bcfa0fe07d8d2bfc71f38da3 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 15 Aug 2006 03:15:15 +0000 Subject: Bug 330485: Attachment links in comments still say "edit" instead of "details" - Patch by victory(_RSZ_) r=LpSolit a=myk --- Bugzilla/Template.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Bugzilla/Template.pm') diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 756c3cc44..58008900f 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 {
-- 
cgit v1.2.3-24-g4f1b