Explorar o código

临时修改,复原回去

lizhen_gitee hai 7 meses
pai
achega
b2dd0b3aa7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      addons/exam/controller/Paper.php

+ 1 - 1
addons/exam/controller/Paper.php

@@ -117,7 +117,7 @@ class Paper extends Base
 
         //考试资格
         if(!in_array($user_id,explode(',',$paper['user_ids']))){
-            //$this->error('您不能参加该考试');
+            $this->error('您不能参加该考试');
         }
 
         //次数限制