summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 222433e)
raw | patch | inline | side by side (parent: 222433e)
author | Jakub Narebski <jnareb@gmail.com> | |
Fri, 2 Mar 2012 22:50:01 +0000 (23:50 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 2 Mar 2012 23:55:09 +0000 (15:55 -0800) |
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>
(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>
gitweb/gitweb.perl | patch | blob | history |
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl
index 7729ed26b5f2b692abb293bc684a854cf1377921..813571b135a240963e1ef99f1f17709a382f84c6 100755 (executable)
--- a/gitweb/gitweb.perl
+++ b/gitweb/gitweb.perl
# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
sub git_project_search_form {
- my ($searchtext, $search_use_regexp);
+ my ($searchtext, $search_use_regexp) = @_;
my $limit = '';
if ($project_filter) {