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>
This commit is contained in:
parent
434ab8162f
commit
87ff46ba67
1 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue