From d2935a5e76ef0e5a2f3a15e80b2649a2913581e5 Mon Sep 17 00:00:00 2001 From: Michal 'vorner' Vaner Date: Fri, 23 Apr 2010 22:43:35 +0200 Subject: [PATCH] Fix odd links --- PciIds/Html/Help.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/PciIds/Html/Help.pm b/PciIds/Html/Help.pm index 9096664..586ed66 100644 --- a/PciIds/Html/Help.pm +++ b/PciIds/Html/Help.pm @@ -44,6 +44,7 @@ sub getHelp( $$ ) { my $url = setAddrPrefix( $req->uri(), 'read' ).buildExcept( 'help', $args ).'?help='; delete $args->{'help'}; my %repls = ( 'HELP_URL' => $url, 'AC_URL' => setAddrPrefix( $req->uri(), 'mods' ).buildExcept( 'action', $args ).'?action=' ); + $repls{'AC_URL'} =~ s#mods/\?#mods/PC/?#; while( defined( my $line = ) ) { $line =~ s/\$(\w+_URL)\$/$repls{$1}/g; print $line; -- 2.39.2