* [bug#63000,done,0.2h] fix bug.

This commit is contained in:
sunguangming
2025-05-30 02:02:31 +00:00
parent 762f3351d2
commit f6dc3c2791
+1 -1
View File
@@ -1244,7 +1244,7 @@ class projectModel extends model
$this->loadModel('program')->setTreePath($projectID);
/* Add project admin. */
$this->projectTao->addProjectAdmin($projectID);
if(empty($project->isTpl)) $this->projectTao->addProjectAdmin($projectID);
if($project->acl != 'open') $this->loadModel('user')->updateUserView(array($projectID), 'project');