From: Jakub Narebski Date: Fri, 2 Mar 2012 22:50:01 +0000 (+0100) Subject: gitweb: Fix passing parameters to git_project_search_form X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/d1d7324283b1bcee78209f9e13495a75317797741008039523d5adaf66997dd0?ds=inline 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 16b0248..66d8628 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -5257,7 +5257,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) {