Skip to content

Commit af1b4e3

Browse files
committed
Merge branch 'rm/gitweb-start-form' into maint
* rm/gitweb-start-form: gitweb: use start_form, not startform that was removed in CGI.pm 4.04
2 parents 27c31d2 + 4750f4b commit af1b4e3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gitweb/gitweb.perl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4100,7 +4100,7 @@ sub print_search_form {
41004100
if ($use_pathinfo) {
41014101
$action .= "/".esc_url($project);
41024102
}
4103-
print $cgi->startform(-method => "get", -action => $action) .
4103+
print $cgi->start_form(-method => "get", -action => $action) .
41044104
"<div class=\"search\">\n" .
41054105
(!$use_pathinfo &&
41064106
$cgi->input({-name=>"p", -value=>$project, -type=>"hidden"}) . "\n") .
@@ -5510,7 +5510,7 @@ sub git_project_search_form {
55105510
}
55115511

55125512
print "<div class=\"projsearch\">\n";
5513-
print $cgi->startform(-method => 'get', -action => $my_uri) .
5513+
print $cgi->start_form(-method => 'get', -action => $my_uri) .
55145514
$cgi->hidden(-name => 'a', -value => 'project_list') . "\n";
55155515
print $cgi->hidden(-name => 'pf', -value => $project_filter). "\n"
55165516
if (defined $project_filter);

0 commit comments

Comments
 (0)