Merge branch 'sprint/174_tianshujie_45029' into 'master'
* Fix bug #45029. See merge request easycorp/zentaopms!685
This commit is contained in:
@@ -1602,9 +1602,15 @@ class testcase extends control
|
||||
|
||||
$projectID = $this->app->tab == 'project' ? $this->session->project : 0;
|
||||
$branches = $this->loadModel('branch')->getPairs($productID, '' , $projectID);
|
||||
foreach($branches as $branchID => $branchName) $branches[$branchID] = $branchName . "(#$branchID)";
|
||||
$modules = array();
|
||||
|
||||
$this->loadModel('tree');
|
||||
foreach($branches as $branchID => $branchName)
|
||||
{
|
||||
$branches[$branchID] = $branchName . "(#$branchID)";
|
||||
$modules += $this->tree->getOptionMenu($productID, 'case', 0, $branchID);
|
||||
}
|
||||
|
||||
$modules = $this->loadModel('tree')->getOptionMenu($productID, 'case');
|
||||
$rows = array();
|
||||
$num = (int)$this->post->num;
|
||||
for($i = 0; $i < $num; $i++)
|
||||
|
||||
Reference in New Issue
Block a user