diff options
Diffstat (limited to 'votes.cgi')
-rwxr-xr-x | votes.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -17,7 +17,7 @@ use Bugzilla; use Bugzilla::Error; my $is_enabled = grep { $_->NAME eq 'Voting' } @{ Bugzilla->extensions }; -$is_enabled || ThrowCodeError('extension_disabled', { name => 'Voting' }); +$is_enabled || ThrowUserError('extension_disabled', { name => 'Voting' }); my $cgi = Bugzilla->cgi; my $action = $cgi->param('action') || 'show_user'; |