|
@@ -418,6 +418,7 @@ class member_ugcControl extends specialControl
|
|
if(empty($comment)) {
|
|
if(empty($comment)) {
|
|
return self::outerr(errcode::ErrParamter,"评论内容不能为空.");
|
|
return self::outerr(errcode::ErrParamter,"评论内容不能为空.");
|
|
}
|
|
}
|
|
|
|
+ //$comment = iconv('utf-16', 'utf-8', $comment);
|
|
$comment = text_filter::filter_html($comment);
|
|
$comment = text_filter::filter_html($comment);
|
|
if(empty($comment)) {
|
|
if(empty($comment)) {
|
|
return self::outerr(errcode::ErrParamter,"评论内容不能含非法字符.");
|
|
return self::outerr(errcode::ErrParamter,"评论内容不能含非法字符.");
|