summaryrefslogtreecommitdiff
path: root/gitweb/gitweb.perl
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-10-20 12:25:27 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-10-20 12:25:27 -0700
commit7df3b072a90f77f7fd82c493659e1b1160db5658 (patch)
treefabb51cdd5c8225c58ae3307e9812055cc70ad1c /gitweb/gitweb.perl
parentMerge branch 'ss/contrib-subtree-contacts' (diff)
parentgitweb: use start_form, not startform that was removed in CGI.pm 4.04 (diff)
downloadtgif-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
Diffstat (limited to 'gitweb/gitweb.perl')
-rwxr-xr-xgitweb/gitweb.perl4
1 files changed, 2 insertions, 2 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index a9f57d6f90..ccf75169dd 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);