summaryrefslogtreecommitdiffstats
path: root/editvalues.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'editvalues.cgi')
-rwxr-xr-xeditvalues.cgi7
1 files changed, 1 insertions, 6 deletions
diff --git a/editvalues.cgi b/editvalues.cgi
index a95385230..3f08a1671 100755
--- a/editvalues.cgi
+++ b/editvalues.cgi
@@ -193,10 +193,5 @@ if ($action eq 'update') {
display_field_values($vars);
}
-
-#
# No valid action found
-#
-# We can't get here without $field being defined --
-# See the unless($field) block at the top.
-ThrowUserError('no_valid_action', { field => $field } );
+ThrowUserError('unknown_action', {action => $action});