diff --git a/application/common/Model/Task.php b/application/common/Model/Task.php index 22912b0..587785d 100755 --- a/application/common/Model/Task.php +++ b/application/common/Model/Task.php @@ -514,7 +514,11 @@ class Task extends CommonModel if($type==1){ $data['status']=2;//进行中 if($task['exchange_list']){ - $transferred=explode(',',$task['transferred']); + if($task['transferred']!=''){ + $transferred=explode(',',$task['transferred']); + }else{ + $transferred=[]; + } array_push($transferred,$task['exchange_list'][0]); $data['transferred']=implode(',',$transferred); $data['assign_to']=$task['exchange_list'][0];