* Add projectID param.
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user