diff --git a/src/lib/lib.php b/src/lib/lib.php index d7bb40e157be4a867adffb0153110b743b19837c..5596c8f08795bedbef83ff6a25d200cc0b5d44af 100644 --- a/src/lib/lib.php +++ b/src/lib/lib.php @@ -50,7 +50,7 @@ class lib $url = ['url' => $urls['wfdo'] . '?act=do&wf_type=' . $wf_type . '&wf_fid=' . $wf_fid]; switch ($status) { case 0: - $start_flow = unit::gconfig('start_flow'); + $start_flow = (array)unit::gconfig('start_flow');// Guoke 2021/11/26 16:55 修复空数据下报错 $btn_access = true ; if (in_array($wf_type, $start_flow)) { $uid = Bill::getbillvalue($wf_type,$wf_fid,'uid');