[Koha-patches] [PATCH] Bug 3797, second part of the patch, extending output_html_with_http_headers to take a status parameter (optional)
Chris Cormack
chrisc at catalyst.net.nz
Fri Nov 20 02:50:02 CET 2009
---
C4/Output.pm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/C4/Output.pm b/C4/Output.pm
index 4c5c4f5..fddd827 100644
--- a/C4/Output.pm
+++ b/C4/Output.pm
@@ -403,9 +403,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 () {
--
1.6.3.3
More information about the Koha-patches
mailing list