Bugfix in errors/*.pl and opac/errors/*.pl
[koha.git] / errors / 404.pl
index ee0fb2a..418723f 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', '404 Not Found';