Merge branch 'lyk_fixbug' into 'master'

* Fix bug #32374.

See merge request easycorp/zentaopms!7137
This commit is contained in:
孙广明
2023-03-03 01:59:31 +00:00
+1
View File
@@ -1663,6 +1663,7 @@ class projectModel extends model
$whitelist = explode(',', $project->whitelist);
$this->loadModel('personnel')->updateWhitelist($whitelist, 'project', $projectID);
if(!$project->hasProduct) $this->loadModel('personnel')->updateWhitelist($whitelist, 'product', current($linkedProducts));
if($project->acl != 'open')
{
$this->loadModel('user')->updateUserView($projectID, 'project');