+ Setting the task type to test to prevent duplicate tasks from being created.

This commit is contained in:
dingguodong
2023-08-17 14:57:14 +08:00
parent c4488eca80
commit 9db24ec4a8
+1
View File
@@ -697,6 +697,7 @@ class taskZen extends task
$task->assignedTo = !empty($postData->testAssignedTo[$key]) ? $postData->testAssignedTo[$key] : '';
$task->estimate = (float)$postData->testEstimate[$key];
$task->left = (float)$postData->testEstimate[$key];
$task->type = 'test'; /* Setting the task type to test to prevent duplicate tasks from being created. */
$testTasks[$storyID] = $task;
}