From: Evan Prodromou Date: Sun, 17 Aug 2008 19:27:10 +0000 (-0400) Subject: accept 140 chars in API, too X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ee858bc8809f846860e4372444b172d8737abc75;p=quix0rs-gnu-social.git accept 140 chars in API, too darcs-hash:20080817192710-84dde-47e8da809c930c7c4528e3cb920d9a448e56d4c0.gz --- diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index 3f9e930737..92c6fbb634 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