aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-10-24 04:50:34 +0000
committerlpsolit%gmail.com <>2005-10-24 04:50:34 +0000
commit1ba93ef1fc9a7136581eb6d081d3cd2c7fda57ed (patch)
tree66b5e7a8f943b4ac84e8ee0c8ca3bd5d3f71392d /report.cgi
parentBug 313069 Fix javascript error when editing attachments (diff)
downloadbugzilla-1ba93ef1fc9a7136581eb6d081d3cd2c7fda57ed.tar.gz
bugzilla-1ba93ef1fc9a7136581eb6d081d3cd2c7fda57ed.tar.bz2
bugzilla-1ba93ef1fc9a7136581eb6d081d3cd2c7fda57ed.zip
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 30c7cade8..d908c77f9 100755
--- a/report.cgi
+++ b/report.cgi
@@ -289,7 +289,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 = GetFormat("reports/report", $formatparam, $cgi->param('ctype'));