This commit is contained in:
sunjun
2022-03-14 10:38:45 +08:00
parent 7411c4c4f3
commit 8269e9229a
+1 -1
View File
@@ -448,7 +448,7 @@ class executionModel extends model
}
$products = array_filter($this->post->products);
if($oldExecution->type == 'stage' and empty($products))
if($oldExecution->type == 'stage'|| $oldExecution->type == 'sprint' and empty($products))
{
dao::$errors['message'][] = $this->lang->execution->noLinkProduct;
return false;