* Fix bug#14951.

This commit is contained in:
xieqiyu
2021-09-09 16:13:05 +08:00
parent 96474f4801
commit 6aa4a3d163
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -69,7 +69,7 @@ class program extends control
/**
* Program kanban list.
*
*
* @access public
* @return void
*/
@@ -79,7 +79,7 @@ class program extends control
$this->app->session->set('projectList', $this->app->getURI(true), 'project');
$this->view->title = $this->lang->program->kanban->common;
$this->view->kanbanGroup = $this->program->getKanbanGroup();
$this->view->kanbanGroup = array_filter($this->program->getKanbanGroup());
$this->display();
}
+1 -1
View File
@@ -13,7 +13,7 @@
<?php include '../../common/view/kanban.html.php';?>
<?php if(empty($kanbanGroup)):?>
<div class="table-empty-tip cell">
<p class="text-muted"><?php echo $lang->noData;?></p>
<p class="text-muted"><?php echo $lang->program->noProgram;?></p>
</div>
<?php else:?>
<div id='kanbanList'>