diff --git a/classes/Notice.php b/classes/Notice.php index e27f09c2c8..2133247b86 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -152,7 +152,7 @@ class Notice extends Memcached_DataObject $final = common_shorten_links($content); - if (mb_strlen($final) > 140) { + if (Notice::contentTooLong($final)) { common_log(LOG_INFO, 'Rejecting notice that is too long.'); return _('Problem saving notice. Too long.'); }