diff --git a/app/adminapi/validate/supervision_work/SupervisionCheckItemValidate.php b/app/adminapi/validate/supervision_work/SupervisionCheckItemValidate.php index 1793a103b..7d97ab401 100644 --- a/app/adminapi/validate/supervision_work/SupervisionCheckItemValidate.php +++ b/app/adminapi/validate/supervision_work/SupervisionCheckItemValidate.php @@ -159,7 +159,7 @@ class SupervisionCheckItemValidate extends BaseValidate if(empty($v['check_content'])){ return '第'.($k+1).'行检查内容为空'; } - if(!isset($v['must_check']) || $v['must_check'] = ''){ + if(!isset($v['must_check']) || $v['must_check'] == ''){ return '第'.($k+1).'行是否必检为空'; } if(!in_array($v['must_check'],[0,1])){