summaryrefslogtreecommitdiffstats
path: root/attachment.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'attachment.cgi')
-rwxr-xr-xattachment.cgi2
1 files changed, 1 insertions, 1 deletions
diff --git a/attachment.cgi b/attachment.cgi
index b6515d037..b650a3522 100755
--- a/attachment.cgi
+++ b/attachment.cgi
@@ -127,7 +127,7 @@ elsif ($action eq "delete") {
}
else
{
- ThrowCodeError("unknown_action", { action => $action });
+ ThrowUserError('unknown_action', {action => $action});
}
exit;