diff options
| author | Junio C Hamano <gitster@pobox.com> | 2014-10-29 10:35:16 -0700 | 
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2014-10-29 10:35:16 -0700 | 
| commit | af1b4e350f5f24e4fbc6f870c9e1552175b86b76 (patch) | |
| tree | 1782157d992c56a44fb0d5c5dd210845938b1db4 | |
| parent | 27c31d2088a14e6d2f6a83cf24fdcc90aa936e6b (diff) | |
| parent | 4750f4b962b4f09b03fcdde86684cf60c6f6e46a (diff) | |
| download | git-af1b4e350f5f24e4fbc6f870c9e1552175b86b76.tar.gz | |
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
| -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 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);  | 
