diff --git a/module/testcase/control.php b/module/testcase/control.php index 2755762c95..52f9f9c10f 100644 --- a/module/testcase/control.php +++ b/module/testcase/control.php @@ -1132,7 +1132,7 @@ class testcase extends control $this->testcase->importSteps($caseID, zget($steps, $oldCaseID, array())); $this->testcase->importFiles($caseID, zget($files, $oldCaseID, array())); - $importedCases[] = $libCaseID; + $importedCases[] = $caseID; $this->action->create('case', $caseID, 'fromlib', '', $case->lib); }