From: Moritz Bunkus Date: Thu, 31 Jan 2008 11:50:42 +0000 (+0000) Subject: Parametername von "type" in "content_type" geändert. X-Git-Tag: release-2.6.0beta1~268 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=7b2d21f4b1f77c5de36a43f1a8a338c09caacc7b;p=kivitendo-erp.git Parametername von "type" in "content_type" geändert. --- 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}