From 60c3233999b7f81f4ee41184c2c0caa58b030286 Mon Sep 17 00:00:00 2001 From: weiz <736250432@qq.com> Date: Fri, 1 Mar 2024 11:15:24 +0800 Subject: [PATCH] update --- .../validate/supervision_work/SupervisionCheckItemValidate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])){