* Fix bug.

This commit is contained in:
孙广明
2021-11-24 13:10:40 +08:00
parent cfde5172f3
commit b956e21448
+1 -1
View File
@@ -204,7 +204,7 @@ class projectModel extends model
public function getInfoList($status = 'undone', $itemCounts = 30, $orderBy = 'order_desc', $pager = null)
{
/* Init vars. */
$projects = $this->loadModel('program')->getProjectList(0, $status, 0, $orderBy, $pager);
$projects = $this->loadModel('program')->getProjectList(0, $status, 0, $orderBy, $pager, 0, 1);
if(empty($projects)) return array();
$projectIdList = array_keys($projects);