Merge branch 'sprint/191_liumengyi_22628' into 'master'
* Fix bug #22628. See merge request easycorp/zentaopms!3485
This commit is contained in:
@@ -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 => '', $projectID => $project->name) + $this->execution->getCanCopyObjects((int)$projectID);
|
||||
$this->view->teams = array(0 => '', $projectID => (isset($project->name) ? $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;
|
||||
|
||||
Reference in New Issue
Block a user