* Fix bug for task #54336.

This commit is contained in:
liumengyi
2022-05-18 11:15:21 +08:00
parent aacfdcdc1c
commit e83da7c524
2 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -1452,7 +1452,7 @@ class execution extends control
$this->view->name = $name;
$this->view->code = $code;
$this->view->team = $team;
$this->view->teams = array(0 => '') + $this->execution->getCanCopyObjects((int)$projectID);
$this->view->teams = array(0 => '', $projectID => $project->name) + $this->execution->getCanCopyObjects((int)$projectID);
$this->view->allProjects = array(0 => '') + $this->project->getPairsByModel('all', 0, 'noclosed');
$this->view->executionID = $executionID;
$this->view->productID = $productID;