From: Jakub Narebski Date: Mon, 14 Jun 2010 16:08:14 GMT Subject: [RFC PATCHv4 02/17] gitweb: Fix typo in hash key name in %opts in git_header_html Message-ID: <1276531710-22945-3-git-send-email-jnareb@gmail.com> In-Reply-To: <1276531710-22945-1-git-send-email-jnareb@gmail.com> 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 --- gitweb/gitweb.perl | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index c54a8a8..74be92b 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -3230,7 +3230,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 < -- 1.7.0.1