From 87ff46ba67ec81005a33faa579f03589144ac8d7 Mon Sep 17 00:00:00 2001 From: Chris Cormack Date: Fri, 20 Nov 2009 14:50:02 +1300 Subject: [PATCH] Bug 3797, second part of the patch, extending output_html_with_http_headers to take a status parameter (optional) Signed-off-by: Galen Charlton --- C4/Output.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 () { -- 2.39.5