debug for content too long
darcs-hash:20080817152419-84dde-5df1554695bd8560e5affa0ff74f7d0ab7c7c3ff.gz
This commit is contained in:
parent
164a15d253
commit
bee7caaafc
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user