Merge branch 'sprint/167_xieqiyu_15457' into 'sprint/167'

* Fix bug#15457.

See merge request easycorp/zentaopms!78
This commit is contained in:
李玉春
2021-10-18 01:17:58 +00:00
4 changed files with 37 additions and 42 deletions
-1
View File
@@ -493,7 +493,6 @@ class projectModel extends model
{
return $this->dao->select('*')->from(TABLE_PROJECT)
->where('type')->eq('project')
->andWhere('deleted')->eq(0)
->andWhere('id')->in($projectIdList)
->beginIF(!$this->app->user->admin)->andWhere('id')->in($this->app->user->view->projects)->fi()
->fetchAll('id');