summaryrefslogtreecommitdiffstats
path: root/report.cgi
diff options
context:
space:
mode:
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,