diff --git a/C4/Output.pm b/C4/Output.pm index 6baf5ebe1a..2a7fce979c 100644 --- a/C4/Output.pm +++ b/C4/Output.pm @@ -458,9 +458,9 @@ sub output_with_http_headers($$$$;$) { print $query->header($options), $data; } -sub output_html_with_http_headers ($$$) { - my ( $query, $cookie, $data ) = @_; - output_with_http_headers( $query, $cookie, $data, 'html' ); +sub output_html_with_http_headers ($$$;$) { + my ( $query, $cookie, $data, $status ) = @_; + output_with_http_headers( $query, $cookie, $data, 'html', $status ); } sub is_ajax () {