* code for task #70541.

This commit is contained in:
wangyidong
2022-09-29 09:50:11 +08:00
parent 54526092d4
commit 1e928ed625
13 changed files with 82 additions and 65 deletions
+1 -1
View File
@@ -757,7 +757,7 @@ class project extends control
$this->view->availableBudget = $this->program->getBudgetLeft($parentProject) + (float)$project->budget;
$this->view->budgetUnitList = $this->project->getBudgetUnitList();
$this->view->model = $project->model;
$this->view->disableModel = (isset($canChangeModel) and $canChangeModel == true) ? '' : 'disabled';
$this->view->disableModel = (isset($canChangeModel) and $canChangeModel) ? '' : 'disabled';
$this->view->teamMembers = $this->user->getTeamMemberPairs($projectID, 'project');
$this->display();