From 2fd90cd65a9eae7d8d21dac3978419644c8a8eb6 Mon Sep 17 00:00:00 2001 From: Kavalar Date: Thu, 25 May 2023 02:13:29 +0300 Subject: [PATCH] hot fix task service --- common/services/TaskService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/services/TaskService.php b/common/services/TaskService.php index ad2719b..2db1cb0 100644 --- a/common/services/TaskService.php +++ b/common/services/TaskService.php @@ -42,7 +42,7 @@ class TaskService { $modelTask = ProjectTask::findOne($task_params['task_id']); - if ($task_params['executor_id'] == 0){ + if (isset($task_params['executor_id']) && $task_params['executor_id'] == 0){ $task_params['executor_id'] = null; }