summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-12 15:53:24 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-12 15:53:24 -0400
commit47c3e474becc94287e5afce4ec70992266e7ee6b (patch)
treeaa2d7c82ada4af38a66b2b19b29df731db4bbd98 /lib/action.php
parentfa79d2c1d414d69a32c894dded368ee42fb021ca (diff)
only validate if values are sent
darcs-hash:20080612195324-84dde-cab5efa3218f3cd3632ced1c819a5be2edb3c5a0.gz
Diffstat (limited to 'lib/action.php')
-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);