diff --git a/module/testcase/control.php b/module/testcase/control.php index 3e8fc43fb9..ed5a594873 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1135,7 +1135,7 @@ class testcase extends control /* 展示变量. */ /* Show the variables. */ - $this->testcaseZen->assignForImportFromLib($productID, $branch, $libID, $orderBy, $queryID, $libraries); + $this->testcaseZen->assignForImportFromLib($productID, $branch, $libID, $orderBy, $queryID, $libraries, $projectID); $this->view->title = $this->lang->testcase->common . $this->lang->colon . $this->lang->testcase->importFromLib; $this->view->libraries = $libraries; diff --git a/module/testcase/zen.php b/module/testcase/zen.php index a999a1da41..838ba4c787 100644 --- a/module/testcase/zen.php +++ b/module/testcase/zen.php @@ -152,7 +152,7 @@ class testcaseZen extends testcase * @access protected * @return void */ - protected function assignForImportFromLib(int $productID, string $branch, int $libID, string $orderBy, int $queryID, array $libraries): void + protected function assignForImportFromLib(int $productID, string $branch, int $libID, string $orderBy, int $queryID, array $libraries, int $projectID): void { $product = $this->loadModel('product')->getById($productID); $branches = array();