From 32d33305cf86691a4390dfc1538473cd4f94f75b Mon Sep 17 00:00:00 2001 From: Michal Vaner Date: Mon, 8 Sep 2008 22:51:05 +0200 Subject: [PATCH] Help index only in other helps --- PciIds/Html/Help.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PciIds/Html/Help.pm b/PciIds/Html/Help.pm index b16e562..5d08334 100644 --- a/PciIds/Html/Help.pm +++ b/PciIds/Html/Help.pm @@ -37,7 +37,7 @@ sub getHelp( $$ ) { genHtmlHead( $req, $head, undef ); my $addr = PciIds::Address::new( $req->uri() ); print "
\n"; - genMenu( $req, $addr, $args, $auth, [ [ 'Help index', 'help', 'index' ] ] ); + genMenu( $req, $addr, $args, $auth, [ ( $helpname eq 'index' ) ? () : [ 'Help index', 'help', 'index' ] ] ); print "

$head

\n"; print "
\n"; genPath( $req, $addr, 1 ); -- 2.39.5