diff options
author | myk%mozilla.org <> | 2002-01-30 23:14:10 +0100 |
---|---|---|
committer | myk%mozilla.org <> | 2002-01-30 23:14:10 +0100 |
commit | 429456196dd7ce8ef7e0876b7e57cdc394a228ba (patch) | |
tree | 9822db1683ca3910e53f3a4b3e3d7501ae8f8b42 /globals.pl | |
parent | 9704bcdf20dfc01b491d4a7c76f469c9a6190685 (diff) | |
download | bugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.tar.gz bugzilla-429456196dd7ce8ef7e0876b7e57cdc394a228ba.tar.xz |
Fix for bug 104521: Removes old attachment interface in favor of new attachment tracker.
Patch by Myk Melez <myk@mozilla.org>.
r=bbaetz,kiko
Diffstat (limited to 'globals.pl')
-rw-r--r-- | globals.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/globals.pl b/globals.pl index d8e5672e0..86478b03c 100644 --- a/globals.pl +++ b/globals.pl @@ -1039,7 +1039,7 @@ sub quoteUrls { my $num = $2; $item = value_quote($item); # Not really necessary, since we know # there's no special chars in it. - $item = qq{<A HREF="showattachment.cgi?attach_id=$num">$item</A>}; + $item = qq{<A HREF="attachment.cgi?id=$num&action=view">$item</A>}; $things[$count++] = $item; } while ($text =~ s/\*\*\* This bug has been marked as a duplicate of (\d+) \*\*\*/"##$count##"/ei) { @@ -1054,7 +1054,7 @@ sub quoteUrls { my $item = $&; my $num = $1; if ($knownattachments->{$num}) { - $item = qq{<A HREF="showattachment.cgi?attach_id=$num">$item</A>}; + $item = qq{<A HREF="attachment.cgi?id=$num&action=view">$item</A>}; } $things[$count++] = $item; } |