* 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
+3 -2
View File
@@ -736,8 +736,9 @@ class testcaseModel extends model
$this->loadModel('action');
$this->loadModel('story');
$this->loadModel('file');
$now = helper::now();
$data = fixer::input('post')->get();
$now = helper::now();
$branch = (int)$branch;
$data = fixer::input('post')->get();
if(!empty($_POST['id']))
{