diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Template.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Template.pm b/Bugzilla/Template.pm index 915e3cdc6..ed6880b01 100644 --- a/Bugzilla/Template.pm +++ b/Bugzilla/Template.pm @@ -383,11 +383,11 @@ sub get_attachment_link { $title = value_quote($title); $link_text =~ s/ \[details\]$//; - my $linkval = "attachment.cgi?id=$attachid&action="; + my $linkval = "attachment.cgi?id=$attachid"; # Whitespace matters here because these links are in <pre> tags. return qq|<span class="$className">| - . qq|<a href="${linkval}view" title="$title">$link_text</a>| - . qq| <a href="${linkval}edit" title="$title">[details]</a>| + . qq|<a href="${linkval}" title="$title">$link_text</a>| + . qq| <a href="${linkval}&action=edit" title="$title">[details]</a>| . qq|</span>|; } else { |