* [bug#63682,done,0.2h,0h] Fix assignedTo params is string error.

This commit is contained in:
wangyuting
2025-06-26 16:15:05 +08:00
parent 5f10de0187
commit 0f163740d2
+1 -1
View File
@@ -76,7 +76,7 @@ class task extends control
}
elseif($this->post->type == 'affair')
{
$taskIdList = $this->task->createTaskOfAffair($taskData, array($this->post->assignedTo));
$taskIdList = $this->task->createTaskOfAffair($taskData, is_array($this->post->assignedTo) ? $this->post->assignedTo : array($this->post->assignedTo));
}
elseif($this->post->multiple)
{