Skip to content

Commit b22939a

Browse files
jnarebgitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 222433e commit b22939a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gitweb/gitweb.perl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5174,7 +5174,7 @@ sub git_patchset_body {
51745174
# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
51755175

51765176
sub git_project_search_form {
5177-
my ($searchtext, $search_use_regexp);
5177+
my ($searchtext, $search_use_regexp) = @_;
51785178

51795179
my $limit = '';
51805180
if ($project_filter) {

0 commit comments

Comments
 (0)