* Fix bug #42820.
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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'];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user