Browse Source

Bug 3797, second part of the patch, extending output_html_with_http_headers to take a status parameter (optional)

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
3.2.x
Chris Cormack 15 years ago
committed by Galen Charlton
parent
commit
87ff46ba67
  1. 6
      C4/Output.pm

6
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 () {

Loading…
Cancel
Save