X Tutup
Skip to content

Commit ad709ea

Browse files
jnarebgitster
authored andcommitted
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>
1 parent 3499cb1 commit ad709ea

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
@@ -3220,7 +3220,7 @@ sub git_header_html {
32203220
}
32213221
print $cgi->header(-type=>$content_type, -charset => 'utf-8',
32223222
-status=> $status, -expires => $expires)
3223-
unless ($opts{'-no_http_headers'});
3223+
unless ($opts{'-no_http_header'});
32243224
my $mod_perl_version = $ENV{'MOD_PERL'} ? " $ENV{'MOD_PERL'}" : '';
32253225
print <<EOF;
32263226
<?xml version="1.0" encoding="utf-8"?>

0 commit comments

Comments
 (0)
X Tutup