aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2014-10-20 12:25:27 -0700
committerJunio C Hamano <gitster@pobox.com>2014-10-20 12:25:27 -0700
commit7df3b072a90f77f7fd82c493659e1b1160db5658 (patch)
treefabb51cdd5c8225c58ae3307e9812055cc70ad1c
parent9c6be8b5ab89bcc800d500f84358e4e63ee88042 (diff)
parent4750f4b962b4f09b03fcdde86684cf60c6f6e46a (diff)
downloadgit-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-xgitweb/gitweb.perl4
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);