Skip to content

Commit

Permalink
Form methods have been renamed
Browse files Browse the repository at this point in the history
  • Loading branch information
jcameron committed Mar 11, 2019
1 parent ae5b426 commit 163d03e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gitweb.cgi.source
Original file line number Diff line number Diff line change
Expand Up @@ -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) .
"<div class=\"search\">\n" .
(!$use_pathinfo &&
$cgi->input({-name=>"p", -value=>$project, -type=>"hidden"}) . "\n") .
Expand Down
2 changes: 1 addition & 1 deletion gitweb.cgi.source.new
Original file line number Diff line number Diff line change
Expand Up @@ -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) .
"<div class=\"search\">\n" .
$cgi->hidden(-name => "p") . "\n" .
$cgi->hidden(-name => "a") . "\n" .
Expand Down

0 comments on commit 163d03e

Please sign in to comment.