The version in 3.0.x has only four parameters. The fourth is optional and 
defaults to text/html. The fifth is just ignored.
The 500 message comes from the template.
Do I oversee something?

-----Oorspronkelijk bericht-----
Van: Galen Charlton [mailto:gmcha...@gmail.com] 
Verzonden: maandag 17 mei 2010 14:42
Aan: Marcel de Rooy
CC: koha-patches@lists.koha.org
Onderwerp: Re: [Koha-patches] [PATCH] Bug 4514 (Error handling in 500.pl is 
erroneous itself)

Hi,

On Mon, May 17, 2010 at 7:43 AM, Marcel de Rooy
<m.de.r...@rijksmuseum.nl> wrote:
> -output_with_http_headers $query, $cookie, $template->output, 'html', '500 
> Internal Server Error';
> +output_html_with_http_headers $query, $cookie, $template->output; #, 'html', 
> '500 Internal Server Error';
> +

Why comment out the content type and HTTP status arguments? Otherwise,
the script has no way of returning the correct status header.

Regards,

Galen
-- 
Galen Charlton
gmcha...@gmail.com
_______________________________________________
Koha-patches mailing list
Koha-patches@lists.koha.org
http://lists.koha.org/mailman/listinfo/koha-patches

Reply via email to