* Adjust menu in test task.

This commit is contained in:
holan20180123
2021-04-26 13:26:02 +08:00
parent 8f71af3835
commit a8d33273e6

View File

@@ -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);