This commit is contained in:
tianshujie
2022-11-04 15:54:29 +08:00
parent 9d89b58f5d
commit 26efc38fbb
+1 -1
View File
@@ -1136,7 +1136,7 @@ class taskModel extends model
$task = $this->loadModel('file')->processImgURL($task, $this->config->task->editor->edit['id'], $this->post->uid);
if(count(array_filter($this->post->team)) > 1)
if($this->post->team and count(array_filter($this->post->team)) > 1)
{
$teams = $this->manageTaskTeam($oldTask->mode, $taskID, $task->status);
if(!empty($teams)) $task = $this->computeHours4Multiple($oldTask, $task, array(), $autoStatus = false);