diff options
author | lpsolit%gmail.com <> | 2006-11-04 09:31:03 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-11-04 09:31:03 +0100 |
commit | c27a4c99e0b0d27737bd50c08ca1c16ed3a29242 (patch) | |
tree | ffdc1af5f8c2c6a9fc0248970c0c60aff9dbc6cb /Bugzilla | |
parent | 7f94705675428a544f82d485f79f60f052e67fdf (diff) | |
download | bugzilla-c27a4c99e0b0d27737bd50c08ca1c16ed3a29242.tar.gz bugzilla-c27a4c99e0b0d27737bd50c08ca1c16ed3a29242.tar.xz |
Bug 258675: action=view is still used in comments - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=myk
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 { |