修改
This commit is contained in:
@@ -859,7 +859,7 @@ class Article extends Controller {
|
|||||||
$this->article_obj->where($where_article)->update($update_data);
|
$this->article_obj->where($where_article)->update($update_data);
|
||||||
|
|
||||||
//拒稿或者录用 - 发送审稿意见
|
//拒稿或者录用 - 发送审稿意见
|
||||||
if( $data['state'] == 3 || $data['state'] == 5 ){
|
if( $article_info['journal_id'] == 1 && ($data['state'] == 3 || $data['state'] == 5) ){
|
||||||
$this->sendEmailToReviewer($data['articleId'],$data['state']);
|
$this->sendEmailToReviewer($data['articleId'],$data['state']);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user