From c7716641c96083a5c6b339710e80d01f56002f01 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Thu, 23 Feb 2006 00:48:11 +0000 Subject: [PATCH] Fix an error I introduced in an earlier commit --- cgi-bin/dispatcher.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/dispatcher.pl b/cgi-bin/dispatcher.pl index 99c5479..e776a83 100755 --- a/cgi-bin/dispatcher.pl +++ b/cgi-bin/dispatcher.pl @@ -83,7 +83,7 @@ if (my $path = $input->path_info() || $input->param('PATH_INFO')) { shift @components; $input->param( 'source', 1 ); } - if (@components > 1 and $components[0] eq 'search') { + if (@components > 0 and $components[0] eq 'search') { shift @components; $what_to_do = 'search'; # Done -- 2.39.2