* Fix bug#23185.

This commit is contained in:
xieqiyu
2022-06-01 21:36:15 +08:00
parent 1a24cdbc80
commit 6e6d83b814
+1
View File
@@ -137,6 +137,7 @@ class programModel extends model
*/
public function getList($status = 'all', $orderBy = 'id_asc', $pager = NULL, $type = '', $topIdList = '')
{
$objectIdList = array();
if(!$this->app->user->admin)
{
$objectIdList = trim($this->app->user->view->programs, ',') . ',' . trim($this->app->user->view->projects, ',');