Bug 3797, second part of the patch, extending output_html_with_http_headers to take...
authorChris Cormack <chrisc@catalyst.net.nz>
Fri, 20 Nov 2009 01:50:02 +0000 (14:50 +1300)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 10 Feb 2010 19:11:53 +0000 (14:11 -0500)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
C4/Output.pm

index 6baf5eb..2a7fce9 100644 (file)
@@ -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 () {