]> git.deb.at Git - deb/packages.git/blobdiff - cgi-bin/dispatcher.pl
Add a link to the source at the top
[deb/packages.git] / 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