summaryrefslogtreecommitdiffstats
path: root/editcomponents.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editcomponents.cgi')
-rwxr-xr-xeditcomponents.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/editcomponents.cgi b/editcomponents.cgi
index 70afd9c9f..fd30daed4 100755
--- a/editcomponents.cgi
+++ b/editcomponents.cgi
@@ -252,7 +252,5 @@ if ($action eq 'update') {
exit;
}
-#
# No valid action found
-#
-ThrowUserError('no_valid_action', {'field' => "component"});
+ThrowUserError('unknown_action', {action => $action});