Update model.php

This commit is contained in:
孙华伟
2022-05-12 02:15:35 +00:00
parent a3149121ac
commit 99d5b60d56
+1
View File
@@ -641,6 +641,7 @@ class projectModel extends model
->where($projectQuery)
->andWhere('type')->eq('project')
->fetchAll('id');
if(empty($projects)) $projects = 'noProject';
$projects = $this->loadModel('program')->getProjectStats(0, 'undone', 0, 'id_desc', null, 0, 0, false, $projects);
return $projects;
}