mirror of
https://github.com/git/git
synced 2024-08-27 11:39:22 +00:00
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>
This commit is contained in:
parent
3499cb1ae7
commit
ad709ea985
|
@ -3220,7 +3220,7 @@ sub git_header_html {
|
|||
}
|
||||
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
|
||||
-status=> $status, -expires => $expires)
|
||||
unless ($opts{'-no_http_headers'});
|
||||
unless ($opts{'-no_http_header'});
|
||||
my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
|
||||
print <<EOF;
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
|
Loading…
Reference in a new issue