* Code for task#63772. Fix bug of plan empty when at the page of project bug and execution bug in all product.

This commit is contained in:
xieqiyu
2022-08-09 09:39:58 +08:00
parent 47db91c402
commit 8a159ba714
2 changed files with 2 additions and 2 deletions

View File

@@ -1058,7 +1058,7 @@ class execution extends control
$this->view->builds = $this->build->getBuildPairs($productID);
$this->view->branchOption = $branchOption;
$this->view->branchTagOption = $branchTagOption;
$this->view->plans = $this->loadModel('productplan')->getPairs($productID);
$this->view->plans = $this->loadModel('productplan')->getPairs($productID ? $productID : array_keys($products));
$this->view->stories = $storyList;
$this->view->tasks = $taskList;
$this->view->projectPairs = $this->loadModel('project')->getPairsByProgram();