diff options
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-x | buglist.cgi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/buglist.cgi b/buglist.cgi index 65eb6f380..8741f434f 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -511,7 +511,7 @@ elsif (($cmdtype eq "doit") && defined $cgi->param('remtype')) { # We add or remove bugs based on the action choosen. my $action = trim($cgi->param('action') || ''); $action =~ /^(add|remove)$/ - || ThrowCodeError('unknown_action', {'action' => $action}); + || ThrowUserError('unknown_action', {action => $action}); # If we are removing bugs, then we must have an existing # saved search selected. |