From 46c89016520cf272223cba52e704388fa94b4392 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 24 Oct 2005 04:47:50 +0000 Subject: Bug 312307: Misused Throw*Error tags in code and templates - Patch by Dennis Melentyev r=LpSolit a=justdave --- report.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'report.cgi') diff --git a/report.cgi b/report.cgi index f9a56588f..79c72beaa 100755 --- a/report.cgi +++ b/report.cgi @@ -290,7 +290,7 @@ elsif ($action eq "plot") { $vars->{'data'} = \@image_data; } else { - ThrowUserError("unknown_action", {action => $cgi->param('action')}); + ThrowCodeError("unknown_action", {action => $cgi->param('action')}); } my $format = $template->get_format("reports/report", $formatparam, -- cgit v1.2.3-24-g4f1b