From 97dc590a1b1db73efd277398fb054e8ef19dd22f Mon Sep 17 00:00:00 2001 From: hufangzhou <746775970@qq.com> Date: Mon, 7 Sep 2020 09:22:32 +0800 Subject: [PATCH] * Finish task#7818. --- 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 c3067f9647..5e664057f1 100644 --- a/module/block/control.php +++ b/module/block/control.php @@ -1418,7 +1418,7 @@ class block extends control $this->session->set('testtaskList', $this->app->getURI(true)); $this->app->loadLang('testtask'); - $count = isset($this->params->count) ? (int)$this->params->count : 10; + $count = zget($this->params, 'count', 10); $status = isset($this->params->type) ? $this->params->type : 'wait'; $this->view->testtasks = $this->dao->select('t1.*,t2.name as productName,t3.name as buildName,t4.name as projectName')