[Koha-patches] [PATCH] Bug 3797 output 404 error page with a 404 header

Chris Cormack chrisc at catalyst.net.nz
Fri Nov 20 02:32:22 CET 2009


---
 opac/errors/404.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/opac/errors/404.pl b/opac/errors/404.pl
index 0c5408c..d106894 100755
--- a/opac/errors/404.pl
+++ b/opac/errors/404.pl
@@ -34,4 +34,4 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
     }
 );
 $template->param( admin => $admin );
-output_html_with_http_headers $query, $cookie, $template->output;
+output_html_with_http_headers $query, $cookie, $template->output, '404 Not Found';
-- 
1.6.3.3




More information about the Koha-patches mailing list