bug_6253: Unified member Search()
[koha_gimpoz] / opac / errors / 400.pl
index 16c169c..db71a7c 100755 (executable)
@@ -17,6 +17,8 @@
 
 
 use strict;
+use warnings;
+
 use CGI;
 use C4::Auth;
 use C4::Output;
@@ -34,4 +36,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', '400 Bad Request';