From 163d03ec56aeffd67a8b95a6dfc9d5bc8bd4c475 Mon Sep 17 00:00:00 2001 From: Jamie Cameron Date: Sun, 10 Mar 2019 17:16:17 -0700 Subject: [PATCH] Form methods have been renamed --- gitweb.cgi.source | 2 +- gitweb.cgi.source.new | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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" .