This commit is contained in:
zhouxudong
2022-03-29 14:49:01 +08:00
parent 1dac727a25
commit 3e70b88210
2 changed files with 2 additions and 10 deletions
-8
View File
@@ -305,14 +305,6 @@ class executionModel extends model
$type = 'sprint';
if($project) $type = zget($this->config->execution->modelList, $project->model, 'sprint');
/* If the execution model is a stage, determine whether the product is linked. */
$products = array_filter($this->post->products);
if(empty($products))
{
dao::$errors['message'][] = $this->lang->execution->noLinkProduct;
return false;
}
$this->config->execution->create->requiredFields .= ',project';
}