diff --git a/actions/newnotice.php b/actions/newnotice.php index 056b45b8aa..cc40f89bc1 100644 --- a/actions/newnotice.php +++ b/actions/newnotice.php @@ -44,6 +44,8 @@ class NewnoticeAction extends Action { $this->show_form(_('No content!')); return; } else if (mb_strlen($content) > 140) { + common_debug("Content = '$content'", __FILE__); + common_debug("mb_strlen(\$content) = " . mb_strlen($content), __FILE__); $this->show_form(_('That\'s too long. Max notice size is 140 chars.')); return; }