X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/kivitendo-erp.git/blobdiff_plain/0c75bd00cf14a04c9e750c58f289d8688cb579cc..7b2d21f4b1f77c5de36a43f1a8a338c09caacc7b:/SL/Form.pm 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}