Merge branch 'master_xieqiyu_22002' into 'master'

* Fix bug#22002.

See merge request easycorp/zentaopms!3125
This commit is contained in:
孙广明
2022-04-26 07:22:30 +00:00
+1
View File
@@ -1960,6 +1960,7 @@ class projectModel extends model
->where('t1.root')->eq((int)$projectID)
->andWhere('t1.type')->eq($type)
->andWhere('t2.deleted')->eq('0')
->beginIF($this->config->vision)->andWhere("CONCAT(',', t2.visions, ',')")->like("%,{$this->config->vision},%")->fi()
->fetchPairs('account', 'realname');
return array('' => '') + $members;