summaryrefslogtreecommitdiffstats
path: root/editproducts.cgi
diff options
context:
space:
mode:
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});