X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=cgi-bin%2Fdispatcher.pl;h=e776a83086c7293205f6df2013a9da74c770a370;hb=d712994b08af4e71e52930ddf1081f1e13384573;hp=99c547998e54ac98405383c8ec4190e62665fd63;hpb=e23d2d2080a904ddd6d989a878f3c9b164f0a075;p=deb%2Fpackages.git 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