* Solve the problem of adding projects to the classic version.

This commit is contained in:
tianshujie98
2021-04-02 13:43:14 +08:00
parent b09b212763
commit b1d9b5d1d4
5 changed files with 26 additions and 20 deletions
+1 -1
View File
@@ -2291,7 +2291,7 @@ class userModel extends model
}
/* Judge sprint auth. */
if(($project->type == 'sprint' || $project->type == 'stage') && $project->acl == 'private')
if(($project->type == 'sprint' || $project->type == 'stage') && $project->acl == 'private' && $this->config->systemMode == 'new')
{
$parent = $this->dao->select('openedBy,PM')->from(TABLE_PROJECT)->where('id')->eq($project->project)->fetch();
$users[$parent->openedBy] = $parent->openedBy;