1
This commit is contained in:
@@ -1907,7 +1907,9 @@ class Article extends Base
|
||||
$tt .= 'Email:' . $journal_info['email'] . '<br>';
|
||||
$tt .= 'Website:' . $journal_info['website'];
|
||||
|
||||
sendEmail($reviewer_info['email'], $journal_info['title'], $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
|
||||
|
||||
$email_title = "Invitation to review manuscript for ".$journal_info['title']."-[".$article_info['accept_sn']."]";
|
||||
sendEmail($reviewer_info['email'], $email_title, $journal_info['title'], $tt, $journal_info['email'], $journal_info['epassword']);
|
||||
|
||||
//记录userlog
|
||||
$log_data['user_id'] = $article_info['editor_id'];
|
||||
@@ -2936,12 +2938,12 @@ class Article extends Base
|
||||
$article_id = $this->article_obj->insertGetId($inset_data);
|
||||
|
||||
} else {
|
||||
$checkArticle = $this->article_obj->where("article_id", "<>", $article_id)->where("title", trim($data['title']))->select();
|
||||
foreach ($checkArticle as $v) {
|
||||
if ($v['state'] != 3) {
|
||||
return json(['code' => 1, 'msg' => 'Warning: you are re-submitting the article!']);
|
||||
}
|
||||
}
|
||||
// $checkArticle = $this->article_obj->where("article_id", "<>", $article_id)->where("title", trim($data['title']))->select();
|
||||
// foreach ($checkArticle as $v) {
|
||||
// if ($v['state'] != 3) {
|
||||
// return json(['code' => 1, 'msg' => 'Warning: you are re-submitting the article!']);
|
||||
// }
|
||||
// }
|
||||
$up['user_id'] = $user_info['user_id'];
|
||||
$up['journal_id'] = $data['journal'];
|
||||
$up['editor_id'] = $journal_info['editor_id'];
|
||||
|
||||
Reference in New Issue
Block a user