1
This commit is contained in:
@@ -849,7 +849,7 @@ class Reviewer extends Base
|
||||
if(preg_match('/[\x{4e00}-\x{9fa5}]/u', $content)>0){//含有中文
|
||||
if($journal_info['journal_id']==1){
|
||||
if(mb_strlen($content, 'UTF8')<150){
|
||||
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 100 words).");
|
||||
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 150 words).");
|
||||
}
|
||||
}else{
|
||||
if(mb_strlen($content, 'UTF8')<100){
|
||||
@@ -860,7 +860,7 @@ class Reviewer extends Base
|
||||
if($journal_info['journal_id']==1){
|
||||
$carray = explode(" ", $content);
|
||||
if(count($carray)<150){
|
||||
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 100 words).");
|
||||
return jsonError("We encourage you to enrich your comment further to help improve the peer paper (at least 150 words).");
|
||||
}
|
||||
}else{
|
||||
$carray = explode(" ", $content);
|
||||
|
||||
Reference in New Issue
Block a user