summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/action.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/action.php b/lib/action.php
index b2374b1d2..a4cae7066 100644
--- a/lib/action.php
+++ b/lib/action.php
@@ -67,7 +67,7 @@ class Action { // lawsuit
common_server_error($msg, $code);
}
- function client_error($msg, $code=500) {
+ function client_error($msg, $code=400) {
$action = $this->trimmed('action');
common_debug("User error '$code' on '$action': $msg", __FILE__);
common_user_error($msg, $code);