diff options
author | Junio C Hamano <gitster@pobox.com> | 2014-10-20 12:25:27 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-10-20 12:25:27 -0700 |
commit | 7df3b072a90f77f7fd82c493659e1b1160db5658 (patch) | |
tree | fabb51cdd5c8225c58ae3307e9812055cc70ad1c | |
parent | 9c6be8b5ab89bcc800d500f84358e4e63ee88042 (diff) | |
parent | 4750f4b962b4f09b03fcdde86684cf60c6f6e46a (diff) | |
download | git-7df3b072a90f77f7fd82c493659e1b1160db5658.tar.gz git-7df3b072a90f77f7fd82c493659e1b1160db5658.tar.xz |
Merge branch 'rm/gitweb-start-form'
* rm/gitweb-start-form:
gitweb: use start_form, not startform that was removed in CGI.pm 4.04
-rwxr-xr-x | gitweb/gitweb.perl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index a9f57d6f9..ccf75169d 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -4100,7 +4100,7 @@ sub print_search_form { 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") . @@ -5510,7 +5510,7 @@ sub git_project_search_form { } print "<div class=\"projsearch\">\n"; - print $cgi->startform(-method => 'get', -action => $my_uri) . + print $cgi->start_form(-method => 'get', -action => $my_uri) . $cgi->hidden(-name => 'a', -value => 'project_list') . "\n"; print $cgi->hidden(-name => 'pf', -value => $project_filter). "\n" if (defined $project_filter); |