From a8d33273e6de8945274c2ef4da9d6ec9da968704 Mon Sep 17 00:00:00 2001 From: holan20180123 <56391770@qq.com> Date: Mon, 26 Apr 2021 13:26:02 +0800 Subject: [PATCH] * Adjust menu in test task. --- module/testtask/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index 3940fb2a0b..7483f41db2 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -100,7 +100,7 @@ class testtask extends control /* Set menu. */ $productID = $this->product->saveState($productID, $this->products); if($branch === '') $branch = (int)$this->cookie->preBranch; - $this->loadModel('qa')->setMenu($this->products, $productID, $branch); + $this->loadModel('qa')->setMenu($this->products, $productID, $branch, $type); /* Load pager. */ $this->app->loadClass('pager', $static = true);