[Koha-patches] [PATCH] Bug 4514 (Error handling in 500.pl is erroneous itself)

Galen Charlton gmcharlt at gmail.com
Mon May 17 14:41:39 CEST 2010


Hi,

On Mon, May 17, 2010 at 7:43 AM, Marcel de Rooy
<m.de.rooy at 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
gmcharlt at gmail.com



More information about the Koha-patches mailing list