From: Jakub Narebski Date: Sat, 12 Jun 2010 22:35:59 +0000 (+0200) Subject: gitweb: Fix typo in hash key name in %opts in git_header_html X-Git-Url: https://git.ladys.computer/Gitweb/commitdiff_plain/b2aa990f7bf34e3bcecd8b801da17c4a2c0ea6a1abc46d163e8c9ed110261c60 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb.perl b/gitweb.perl index 19b5a44..0ca1f7c 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -3395,7 +3395,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 <