From d7c36e9d8305ed708b40579871f141a3cf1f7fb0 Mon Sep 17 00:00:00 2001
From: wangzhaocui <18722597281>
Date: Sat, 2 Apr 2022 17:44:14 +0800
Subject: [PATCH] =?UTF-8?q?=E6=97=A0=E5=AE=A1=E7=A8=BF=E6=84=8F=E8=A7=81?=
=?UTF-8?q?=E6=97=B6=EF=BC=8C=E4=B8=8D=E6=98=BE=E7=A4=BA=E6=8B=AC=E5=8F=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
application/api/controller/Article.php | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/application/api/controller/Article.php b/application/api/controller/Article.php
index 95a95eb..942973c 100644
--- a/application/api/controller/Article.php
+++ b/application/api/controller/Article.php
@@ -1718,7 +1718,11 @@ class Article extends Controller {
$pushData['email'] =$value['email'];
Queue::push('app\api\job\domail@fire',$pushData,'domail');
$num = $value['recommend'];
- $difference.= "
Reviewer ". ($k+1).' : '.$recommend[$num] ." (".preg_replace("/\t/","",$value['comments']).")
";
+ if($value['comments']!=''){
+ $difference.= "
Reviewer ". ($k+1).' : '.$recommend[$num] ." ( ".preg_replace("/\t/","",$value['comments'])." )
";
+ }else{
+ $difference.= "
Reviewer ". ($k+1).' : '.$recommend[$num] ."
";
+ }
}
$difference .= "
Please let us know your feedback at publisher@tmrjournals.com.";
// 分歧稿件