diff options
author | 2012-11-12 18:48:15 +0100 | |
---|---|---|
committer | 2012-11-12 18:48:15 +0100 | |
commit | 72755c5193d778152fda455454a87174ef0e42f6 (patch) | |
tree | 3046e29342935df95b4e634cdf17b6138492dfc6 /reports.cgi | |
parent | Bug 808300: Requesting data for your own account using User.get should also r... (diff) | |
download | bugzilla-72755c5193d778152fda455454a87174ef0e42f6.tar.gz bugzilla-72755c5193d778152fda455454a87174ef0e42f6.tar.bz2 bugzilla-72755c5193d778152fda455454a87174ef0e42f6.zip |
Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is not triggered by the code itself
r=glob a=LpSolit
Diffstat (limited to 'reports.cgi')
-rwxr-xr-x | reports.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/reports.cgi b/reports.cgi index 66f4b05d7..a2e1e6a7e 100755 --- a/reports.cgi +++ b/reports.cgi @@ -27,7 +27,7 @@ my $template = Bugzilla->template; my $vars = {}; if (!Bugzilla->feature('old_charts')) { - ThrowCodeError('feature_disabled', { feature => 'old_charts' }); + ThrowUserError('feature_disabled', { feature => 'old_charts' }); } my $dir = bz_locations()->{'datadir'} . "/mining"; |