hot fix task service

This commit is contained in:
Kavalar 2023-05-25 02:13:29 +03:00
parent a7501fee35
commit 2fd90cd65a

View File

@ -42,7 +42,7 @@ class TaskService
{ {
$modelTask = ProjectTask::findOne($task_params['task_id']); $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; $task_params['executor_id'] = null;
} }