From 05d101e58b400b1a52adcc86515b5442b85cd2f5 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Wed, 24 Apr 2002 14:24:43 +0000 Subject: Bug 138588 - change to use new template structure. Patch by gerv, r=myk, afranke. --- CGI.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CGI.pl') diff --git a/CGI.pl b/CGI.pl index b7a513f2a..983513306 100644 --- a/CGI.pl +++ b/CGI.pl @@ -69,7 +69,7 @@ if (Param("shutdownhtml") && $0 !~ m:[\\/](do)?editparams.cgi$:) { # Generate and return an HTML message about the downtime. $::template->process("global/message.html.tmpl", $::vars) - || DisplayError("Template process failed: " . $::template->error()); + || ThrowTemplateError($::template->error()); exit; } -- cgit v1.2.3-24-g4f1b