Bugfix in errors/*.pl and opac/errors/*.pl
[koha.git] / opac / errors / 500.pl
index d3c5ce1..fb0350e 100755 (executable)
@@ -34,4 +34,4 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     }
 );
 $template->param( admin => $admin );
-output_html_with_http_headers $query, $cookie, $template->output;
+output_with_http_headers $query, $cookie, $template->output, 'html', '500 Internal Server Error';