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-Tag: v1.7.10-rc0~20 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=b22939a2860604bec718cfd751e930f3a8afd1cc;p=git.git 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/gitweb.perl b/gitweb/gitweb.perl index 7729ed26b..813571b13 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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) {