diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 08:14:37 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-08-21 08:14:37 -0400 |
commit | 3565383f777095c0367cc197e5e4b9486784592b (patch) | |
tree | e8280e753cfe72c837f83f42415e7508b884b14e /actions/postnotice.php | |
parent | 3eeb9deffbac17e49abe2789cd1578726a2bce97 (diff) |
postnotice for OMB correctly checks max notice size
Diffstat (limited to 'actions/postnotice.php')
-rw-r--r-- | actions/postnotice.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/postnotice.php b/actions/postnotice.php index 74be47119..3d2c4d5b4 100644 --- a/actions/postnotice.php +++ b/actions/postnotice.php @@ -66,7 +66,7 @@ class PostnoticeAction extends Action function checkNotice() { $content = common_shorten_links($_POST['omb_notice_content']); - if (mb_strlen($content) > 140) { + if (Notice::contentTooLong($content)) { $this->clientError(_('Invalid notice content'), 400); return false; } |