diff --git a/.env b/.env index ffee274..a4af5e2 100644 --- a/.env +++ b/.env @@ -140,7 +140,7 @@ net = '

- Privacy policy diff --git a/application/api/controller/Production.php b/application/api/controller/Production.php index 0a1de63..83262c1 100644 --- a/application/api/controller/Production.php +++ b/application/api/controller/Production.php @@ -390,6 +390,9 @@ class Production extends Controller } // $data['p_article_id'] = 7; $p_info = $this->production_article_obj->where('p_article_id',$data['p_article_id'])->find(); + if($p_info['state']!=0){ + return jsonError("Non repeatable submission"); + } if($p_info['proof_state']!=2){ return jsonError('Warning: It is a violation to publish your article online without completing PROOF. The ONLINE step will only continue if you have completed the PROOF step.');