Bug 3797 output 404 error page with a 404 header
authorChris Cormack <chrisc@catalyst.net.nz>
Fri, 20 Nov 2009 01:32:22 +0000 (14:32 +1300)
committerGalen Charlton <gmcharlt@gmail.com>
Wed, 10 Feb 2010 19:11:44 +0000 (14:11 -0500)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
opac/errors/404.pl

index 2edfdbf..9b1f39f 100755 (executable)
@@ -36,4 +36,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';