* [bug#59751,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-02-26 14:09:06 +08:00
committed by 刘梦艺
parent 71bba607e9
commit a7f94c3486
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -623,6 +623,7 @@ class execution extends control
$this->view->plans = $this->loadModel('productplan')->getForProducts(array_keys($products));
$this->view->tasks = $this->loadModel('task')->getPairsByIdList($taskIdList);
$this->view->stories = $this->loadModel('story')->getPairsByList($storyIdList);
$this->view->moduleID = $type == 'bymodule' ? $param : 0;
$this->view->switcherParams = "executionID={$executionID}&productID={$productID}&currentMethod=bug";
$this->view->switcherText = isset($products[$productID]) ? $products[$productID]->name : $this->lang->product->all;
if(empty($project->hasProduct)) $this->config->excludeSwitcherList[] = 'execution-bug';