From 61858962b06866a330960bd161591b000e26ae63 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sat, 21 Dec 2013 17:42:14 +0100 Subject: Bug 748095: Bugzilla crashes when the shutdownhtml parameter is set and using a non-cookie based authentication method r=dkl a=justdave --- Bugzilla.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'Bugzilla.pm') diff --git a/Bugzilla.pm b/Bugzilla.pm index 99fcbed46..5344c8bc6 100644 --- a/Bugzilla.pm +++ b/Bugzilla.pm @@ -165,10 +165,8 @@ sub init_page { print Bugzilla->cgi->header(-status => 503, -retry_after => SHUTDOWNHTML_RETRY_AFTER); } - my $t_output; - $template->process("global/message.$extension.tmpl", $vars, \$t_output) + $template->process("global/message.$extension.tmpl", $vars) || ThrowTemplateError($template->error); - say $t_output; exit; } } -- cgit v1.2.3-24-g4f1b