* Finish task #8908.

This commit is contained in:
tianshujie98
2021-01-05 16:28:43 +08:00
parent e9ef2b399d
commit 1101f8de43
+2 -2
View File
@@ -387,8 +387,8 @@ class programModel extends model
$query = $this->dao->select('*')->from(TABLE_PROJECT)
->where('deleted')->eq('0')
->beginIF($from == 'program')
->andWhere('type')->in('program,project')
->andWhere('id')->in($this->app->user->view->programs . ',' . $this->app->user->view->projects)
->andWhere('type')->eq('program')
->andWhere('id')->in($this->app->user->view->programs)
->fi()
->beginIF($from == 'product')
->andWhere('type')->eq('program')