diff --git a/gitweb.cgi.source b/gitweb.cgi.source index 5db2fbb..a2f7567 100755 --- a/gitweb.cgi.source +++ b/gitweb.cgi.source @@ -2619,7 +2619,7 @@ EOF if ($use_pathinfo) { $action .= "/".esc_url($project); } - print $cgi->startform(-method => "get", -action => $action) . + print $cgi->start_form(-method => "get", -action => $action) . "
\n" . (!$use_pathinfo && $cgi->input({-name=>"p", -value=>$project, -type=>"hidden"}) . "\n") . diff --git a/gitweb.cgi.source.new b/gitweb.cgi.source.new index 2eb6b96..557068e 100644 --- a/gitweb.cgi.source.new +++ b/gitweb.cgi.source.new @@ -406,7 +406,7 @@ EOF } $cgi->param("a", "search"); $cgi->param("h", $search_hash); - print $cgi->startform(-method => "get", -action => $my_uri) . + print $cgi->start_form(-method => "get", -action => $my_uri) . "
\n" . $cgi->hidden(-name => "p") . "\n" . $cgi->hidden(-name => "a") . "\n" .