my $admin = C4::Context->preference('KohaAdminEmailAddress');
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
{
- template_name => 'errors/402.tt',
+ template_name => 'errors/errorpage.tt',
query => $query,
type => 'intranet',
authnotrequired => 1,
debug => 1,
}
);
-$template->param( admin => $admin );
+$template->param (
+ admin => $admin,
+ errno => 402,
+);
output_with_http_headers $query, $cookie, $template->output, 'html', '402 Payment Required';