From 0f163740d23c3eb67aceb852e0722901f5b60d6b Mon Sep 17 00:00:00 2001 From: wangyuting Date: Thu, 26 Jun 2025 16:08:46 +0800 Subject: [PATCH] * [bug#63682,done,0.2h,0h] Fix assignedTo params is string error. --- module/task/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/task/control.php b/module/task/control.php index 73b0862688..87629c1bc4 100755 --- a/module/task/control.php +++ b/module/task/control.php @@ -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) {