aboutsummaryrefslogtreecommitdiff
path: root/gitweb
diff options
context:
space:
mode:
authorJakub Narebski <jnareb@gmail.com>2012-03-02 23:50:01 +0100
committerJunio C Hamano <gitster@pobox.com>2012-03-02 15:55:09 -0800
commitb22939a2860604bec718cfd751e930f3a8afd1cc (patch)
tree641c9bdcf3f38d5f0ccb1ed37ae2bf063051c19f /gitweb
parent222433ee4b57750174875ce6b252d10c009a1fa9 (diff)
downloadgit-b22939a2860604bec718cfd751e930f3a8afd1cc.tar.gz
git-b22939a2860604bec718cfd751e930f3a8afd1cc.tar.xz
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 <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-xgitweb/gitweb.perl2
1 files changed, 1 insertions, 1 deletions
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) {