summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-08-17 15:27:10 -0400
committerEvan Prodromou <evan@prodromou.name>2008-08-17 15:27:10 -0400
commitee858bc8809f846860e4372444b172d8737abc75 (patch)
tree957e19d5974a44b59a45fc47a9a261053f4c7614
parent1c021edad599711b0e31c95730cc1f8e2f251ca0 (diff)
accept 140 chars in API, too
darcs-hash:20080817192710-84dde-47e8da809c930c7c4528e3cb920d9a448e56d4c0.gz
-rw-r--r--actions/twitapistatuses.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php
index 3f9e93073..92c6fbb63 100644
--- a/actions/twitapistatuses.php
+++ b/actions/twitapistatuses.php
@@ -391,7 +391,7 @@ class TwitapistatusesAction extends TwitterapiAction {
// errror? -- Zach
exit();
- } else if (strlen($status) > 140) {
+ } else if (mb_strlen($status) > 140) {
// XXX: Twitter truncates anything over 140, flags the status
// as "truncated." Sending this error may screw up some clients