summaryrefslogtreecommitdiff
path: root/actions/postnotice.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/postnotice.php')
-rw-r--r--actions/postnotice.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/postnotice.php b/actions/postnotice.php
index b4a272e61..243aa3163 100644
--- a/actions/postnotice.php
+++ b/actions/postnotice.php
@@ -58,13 +58,13 @@ class PostnoticeAction extends Action {
return false;
}
$content = $req->get_parameter('omb_notice_content');
- if (!$content || strlen($content) > 140) {
+// if (!$content || strlen($content) > 140) {
$content = common_shorten_links($content);
if (mb_strlen($content) > 140) {
common_user_error(_('Invalid notice content'), 400);
return false;
}
- }
+// }
$notice_uri = $req->get_parameter('omb_notice');
if (!Validate::uri($notice_uri) &&
!common_valid_tag($notice_uri)) {