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 4c9a98b8a..0537235fe 100755
--- a/report.cgi
+++ b/report.cgi
@@ -289,7 +289,7 @@ elsif ($action eq "plot") {
$vars->{'data'} = \@image_data;
}
else {
- ThrowCodeError("unknown_action", {action => $cgi->param('action')});
+ ThrowUserError('unknown_action', {action => $action});
}
my $format = $template->get_format("reports/report", $formatparam,