* Fix sprint217 bugs.

This commit is contained in:
zenggang
2022-07-21 04:06:11 +00:00
parent 9134845142
commit 0655809533
7 changed files with 27 additions and 21 deletions
+1
View File
@@ -54,6 +54,7 @@ class program extends control
{
/* Get top programs and projects. */
$topObjects = $this->program->getList($status == 'unclosed' ? 'doing,suspended,wait' : $status, $orderBy, $pager, 'top');
if(!$topObjects) $topObjects = array(0);
$programs = $this->program->getList($status == 'closed' ? 'closed' : 'all', $orderBy, NULL, 'child', array_keys($topObjects));
/* Get summary. */