From 2cc9dfd17f41b33ca7d9fee38ffca9474f6e8769 Mon Sep 17 00:00:00 2001 From: leiyong <1549684884@qq.com> Date: Wed, 2 Dec 2020 13:13:11 +0800 Subject: [PATCH] * Fix bug. --- module/block/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/block/control.php b/module/block/control.php index 8f91d6c1e2..66fc5105a6 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -765,7 +765,7 @@ class block extends control $type = isset($this->params->type) ? $this->params->type : 'all'; $orderBy = isset($this->params->orderBy) ? $this->params->orderBy : 'id_desc'; - $this->view->projects = $this->loadModel('program')->getPRJOverview('byStatus', $type, $orderBy, $count); + $this->view->programs = $this->loadModel('program')->getPRJOverview('byStatus', $type, $orderBy, $count); $this->view->users = $this->loadModel('user')->getPairs('noletter'); }