* Fix bug.

This commit is contained in:
leiyong
2020-12-09 09:34:20 +08:00
parent ed422d025c
commit 467c593f20
+3 -2
View File
@@ -1780,11 +1780,12 @@ class block extends control
*/
public function printProgramTeamBlock()
{
$count = isset($this->params->count) ? $this->params->count : 15;
$status = isset($this->params->type) ? $this->params->type : 'all';
$count = isset($this->params->count) ? $this->params->count : 15;
$status = isset($this->params->type) ? $this->params->type : 'all';
$orderBy = isset($this->params->orderBy) ? $this->params->orderBy : 'id_desc';
/* Get projects. */
$this->app->loadLang('task');
$this->view->projects = $this->loadModel('program')->getPRJOverview('byStatus', $status, $orderBy, $count);
}