* Fix the error when export xmind.

This commit is contained in:
wangxuepeng
2023-12-28 14:07:28 +08:00
parent c6ba727525
commit f3b5fff8dc
+2 -2
View File
@@ -1633,8 +1633,8 @@ class testcase extends control
$configResult = $this->testcase->saveXmindConfig($configList);
$imoduleID = $this->post->imodule ? $this->post->imoduleID : 0;
$context = $this->testcaseZen->getXmindExport($productID, $imoduleID, $branch);
$imoduleID = $this->post->imodule ? $this->post->imodule : 0;
$context = $this->testcaseZen->getXmindExport($productID, (int)$imoduleID, $branch);
$productName = '';
if(count($context['caseList']))