From: lpsolit%gmail.com <> Date: Tue, 15 Aug 2006 03:17:21 +0000 (+0000) Subject: Bug 330485: Attachment links in comments still say "edit" instead of "details" -... X-Git-Tag: bugzilla-2.22.1~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=993351479295218e17df6293fa0b345b00fe6004;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/globals.pl b/globals.pl index f1b1ae0997..aa4a42f5be 100644 --- a/globals.pl +++ b/globals.pl @@ -623,12 +623,12 @@ sub GetAttachmentLink { my ($title, $className) = @{$::attachlink{$attachid}}; # $title will be undefined if the attachment didn't exist in the database. if (defined $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 {