]> git.deb.at Git - deb/packages.git/commitdiff
Fix an error I introduced in an earlier commit
authorFrank Lichtenheld <frank@lichtenheld.de>
Thu, 23 Feb 2006 00:48:11 +0000 (00:48 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Thu, 23 Feb 2006 00:48:11 +0000 (00:48 +0000)
cgi-bin/dispatcher.pl

index 99c547998e54ac98405383c8ec4190e62665fd63..e776a83086c7293205f6df2013a9da74c770a370 100755 (executable)
@@ -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