* Modify create task error of set the module is requried.

This commit is contained in:
tianshujie
2024-01-19 08:56:20 +08:00
parent fd28b6f560
commit f4e2ec58f0
4 changed files with 8 additions and 7 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ class task extends control
if($duplicateTaskID) return $this->send(array('result' => 'success', 'message' => sprintf($this->lang->duplicate, $this->lang->task->common), 'load' => $this->createLink('task', 'view', "taskID={$duplicateTaskID}")));
$this->dao->begin();
if($this->post->type == 'test' && $this->post->selectTestStory)
if($this->post->type == 'test' && $this->post->selectTestStory == 'on')
{
/* Prepare to create the data for the test subtask and to check the data format. */
$testTasks = $this->taskZen->buildTestTasksForCreate($taskData->execution);