From 7b2d21f4b1f77c5de36a43f1a8a338c09caacc7b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Thu, 31 Jan 2008 11:50:42 +0000 Subject: [PATCH] =?utf8?q?Parametername=20von=20"type"=20in=20"content=5Ft?= =?utf8?q?ype"=20ge=C3=A4ndert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- SL/Form.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SL/Form.pm b/SL/Form.pm index 4caa9b943..8a12841e3 100644 --- a/SL/Form.pm +++ b/SL/Form.pm @@ -511,7 +511,7 @@ sub create_http_response { '-path' => $base_path); } - my %cgi_params = ('-type' => $params{type}); + my %cgi_params = ('-type' => $params{content_type}); $cgi_params{'-charset'} = $params{charset} if ($parmas{charset}); my $output = $cgi->header('-cookie' => $session_cookie, @@ -594,8 +594,8 @@ sub header { $ajax .= $item->show_javascript(); } - print $self->create_http_response('type' => 'text/html', - 'charset' => $db_charset,); + print $self->create_http_response('content_type' => 'text/html', + 'charset' => $db_charset,); print qq|${doctype} $self->{titlebar} -- 2.20.1