summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-24 06:47:50 +0200
committerlpsolit%gmail.com <>2005-10-24 06:47:50 +0200
commit46c89016520cf272223cba52e704388fa94b4392 (patch)
tree7fabf7e470cb3609bd6bbdd40a1c23463a10e5e0 /report.cgi
parentd0042bb7c9340ef4dd80b3abe3b2f45ed4bf862b (diff)
downloadbugzilla-46c89016520cf272223cba52e704388fa94b4392.tar.gz
bugzilla-46c89016520cf272223cba52e704388fa94b4392.tar.xz
Bug 312307: Misused Throw*Error tags in code and templates - Patch by Dennis Melentyev <dennis.melentyev@infopulse.com.ua> r=LpSolit a=justdave
Diffstat (limited to 'report.cgi')
-rwxr-xr-xreport.cgi2
1 files changed, 1 insertions, 1 deletions
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,