aboutsummaryrefslogtreecommitdiff
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 /editproducts.cgi
parentBug 487106: Add explanation when a whining is empty (diff)
downloadbugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.gz
bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.tar.bz2
bugzilla-c558f9f5ab886ca1202ba7095803319361e06290.zip
Bug 565879: Merge ThrowCodeError("action_unrecognized"), ThrowUserError("no_valid_action") and ThrowCodeError("unknown_action")
r=ghendricks a=LpSolit
Diffstat (limited to 'editproducts.cgi')
-rwxr-xr-xeditproducts.cgi5
1 files changed, 1 insertions, 4 deletions
diff --git a/editproducts.cgi b/editproducts.cgi
index 4a302aa6c..6d5c5e593 100755
--- a/editproducts.cgi
+++ b/editproducts.cgi
@@ -422,8 +422,5 @@ if ($action eq 'updategroupcontrols') {
exit;
}
-#
# No valid action found
-#
-
-ThrowUserError('no_valid_action', {field => "product"});
+ThrowUserError('unknown_action', {action => $action});