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-Tag: v1.7.2-rc0~90 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ad709ea985b527adb546f4c841fbd480f2c6bdfd;p=git.git 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/gitweb.perl b/gitweb/gitweb.perl index 934aacb61..e108bbc60 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -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 <