aboutsummaryrefslogtreecommitdiffstats
path: root/buglist.cgi
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2010-05-20 17:38:16 +0200
committerFrédéric Buclin <LpSolit@gmail.com>2010-05-20 17:38:16 +0200
commitc558f9f5ab886ca1202ba7095803319361e06290 (patch)
tree4c3072f445b8d5fc3f55b4964b7470e5a8c00151 /buglist.cgi
parentd6e7e1bd1c206b1b336f867ba6a51ed8c6e2fbb1 (diff)
downloadbugs-c558f9f5ab886ca1202ba7095803319361e06290.tar
bugs-c558f9f5ab886ca1202ba7095803319361e06290.tar.gz
bugs-c558f9f5ab886ca1202ba7095803319361e06290.tar.bz2
bugs-c558f9f5ab886ca1202ba7095803319361e06290.tar.xz
bugs-c558f9f5ab886ca1202ba7095803319361e06290.zip
Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action")
r=ghendricks a=LpSolit
Diffstat (limited to 'buglist.cgi')
-rwxr-xr-xbuglist.cgi2
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.