*Fixbug_sunjun_21618

This commit is contained in:
sunjun
2022-04-12 08:35:31 +08:00
parent ce5044b2a5
commit c36f432e1a
+1 -2
View File
@@ -953,7 +953,6 @@ class testcase extends control
if($this->app->tab == 'qa') $this->testcase->setMenu($this->products, $productID, $branch);
if($this->app->tab == 'execution') $this->loadModel('execution')->setMenu($this->session->execution);
$isLibCase = $type == 'lib' ? true : false;
/* The cases of a product. */
if($productID)
{
@@ -1094,7 +1093,7 @@ class testcase extends control
$this->view->cases = $cases;
$this->view->forceNotReview = $this->testcase->forceNotReview();
$this->view->modulePairs = $modulePairs;
$this->view->isLibCase = $isLibCase;
$this->view->isLibCase = $type == 'lib' ? true : false;
$this->display();
}