|
|
@ -412,7 +412,7 @@ class Posts extends BaseController |
|
|
$length = 500; |
|
|
$length = 500; |
|
|
$error = lang('im.msgContentLimit') . $textLen; |
|
|
$error = lang('im.msgContentLimit') . $textLen; |
|
|
} else { |
|
|
} else { |
|
|
$content = preg_link($content); |
|
|
//$content = preg_link($content); |
|
|
} |
|
|
} |
|
|
if ($textLen > $length) { |
|
|
if ($textLen > $length) { |
|
|
return ['error' => $error]; |
|
|
return ['error' => $error]; |
|
|
|