1
0
mirror of https://github.com/git/git.git synced 2024-09-29 08:35:10 +02:00

gitweb: Fix passing parameters to git_project_search_form

The git_project_search_form() subroutine, introduced in a1e1b2d
(gitweb: improve usability of projects search form, 2012-01-31) didn't
get its arguments from caller correctly.  Gitweb worked correctly
thanks to sticky-ness of form fields in CGI.pm... but it make UTF-8
fix for project search not working.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Jakub Narebski 2012-03-02 23:50:01 +01:00 committed by Junio C Hamano
parent 222433ee4b
commit b22939a286

@ -5174,7 +5174,7 @@ sub git_patchset_body {
# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
sub git_project_search_form {
my ($searchtext, $search_use_regexp);
my ($searchtext, $search_use_regexp) = @_;
my $limit = '';
if ($project_filter) {