]> Lady’s Gitweb - Gitweb/commitdiff
gitweb: Fix passing parameters to git_project_search_form
authorJakub Narebski <redacted>
Fri, 2 Mar 2012 22:50:01 +0000 (23:50 +0100)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:32 +0000 (00:51 -0400)
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 16b02480c39de707da3bbbef170df8dea8ed04335b2b3f69afcb770068099c8d..66d8628b26f25590b8035263fa11581d7d05c895cafd13559aa2eb15b533a70a 100755 (executable)
@@ -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) {
This page took 0.259325 seconds and 4 git commands to generate.