This commit is contained in:
wangxuepeng
2023-12-29 16:42:02 +08:00
parent a15e60465b
commit 8273f0f232
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1798,7 +1798,7 @@ class testcase extends control
$this->view->product = $product;
$this->view->branch = $branch;
$this->view->scenes = $scenes;
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'case', $startModuleID = 0, ($branch === 'all' or !isset($branches[$branch])) ? 0 : $branch);
$this->view->moduleOptionMenu = $this->tree->getOptionMenu($productID, $viewType = 'case', $startModuleID = 0, ($branch === 'all' or !isset($branches[$branch])) ? '0' : $branch);
$this->display();
}
+1 -1
View File
@@ -3107,7 +3107,7 @@ class testcaseZen extends testcase
$this->session->set('xmindImport', $filePath);
$this->session->set('xmindImportType', $fetchResult['type']);
return $fetchResult['pID'];
return (int)$fetchResult['pID'];
}
/**