@matheusbsbs / matheus-bagliano / commits / ad709ea985
Fork 0

gitweb: Fix typo in hash key name in %opts in git_header_html

The name of the key has to be the same in call site handle_errors_html and in called subroutine that uses it, i.e. git_header_html. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jakub Narebski committed Jun 13, 2010 at 00:35 UTC ad709ea985b527adb546f4c841fbd480f2c6bdfd
1 file changed +1 -1
gitweb/gitweb.perl
+1 -1
@@ -3220,7 +3220,7 @@ sub git_header_html {
3220 }
3221 print $cgi->header(-type=>$content_type, -charset => 'utf-8',
3222 -status=> $status, -expires => $expires)
3223 - unless ($opts{'-no_http_headers'});
3223 + unless ($opts{'-no_http_header'});
3224 my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
3225 print <<EOF;
3226 <?xml version="1.0" encoding="utf-8"?>