Merge branch 'release/21.7.2' into feature/performance

This commit is contained in:
wangyidong
2025-06-03 13:59:53 +08:00
207 changed files with 11495 additions and 4008 deletions
+4 -1
View File
@@ -652,7 +652,10 @@ class project extends control
$this->executeHooks($projectID);
list($userPairs, $userList) = $this->projectZen->buildUsers();
if($this->config->edition != 'open') $this->view->workflowGroups = $this->loadModel('workflowgroup')->getPairs('project', $project->model, $project->hasProduct, 'all');
if($this->config->edition != 'open' && !empty($project->workflowGroup))
{
$this->view->workflowGroup = $this->loadModel('workflowgroup')->getByID((int)$project->workflowGroup);
}
$this->view->title = $this->lang->project->view;
$this->view->projectID = $projectID;