* convert branch to int when import case.

This commit is contained in:
wangyidong
2016-05-20 09:07:48 +08:00
parent f3b764c079
commit aae2f90069
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -1091,7 +1091,7 @@ class testcase extends control
{
if($_POST)
{
$this->testcase->createFromImport($productID, $branch);
$this->testcase->createFromImport($productID, (int)$branch);
die(js::locate(inlink('browse', "productID=$productID"), 'parent'));
}