From 8269e9229a62968e00b25fa889fbf1d1dd47445d Mon Sep 17 00:00:00 2001 From: sunjun Date: Mon, 14 Mar 2022 10:38:45 +0800 Subject: [PATCH] fixbug #50431 --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 3a206b53ab..f9c191215c 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -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;