aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'editflagtypes.cgi')
-rwxr-xr-xeditflagtypes.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/editflagtypes.cgi b/editflagtypes.cgi
index d389c6db7..a0e64957b 100755
--- a/editflagtypes.cgi
+++ b/editflagtypes.cgi
@@ -86,7 +86,7 @@ elsif ($action eq 'confirmdelete') { confirmDelete(); }
elsif ($action eq 'delete') { deleteType($token); }
elsif ($action eq 'deactivate') { deactivate($token); }
else {
- ThrowCodeError("action_unrecognized", { action => $action });
+ ThrowUserError('unknown_action', {action => $action});
}
exit;