* change for safe.

This commit is contained in:
wangyidong
2018-07-23 17:27:54 +08:00
parent 897ad0fdae
commit 9e2df3dde2
7 changed files with 20 additions and 10 deletions
+2 -2
View File
@@ -927,8 +927,8 @@ class bugModel extends model
if(dao::isError()) return false;
$buildData = new stdclass();
$buildData->product = $oldBug->product;
$buildData->branch = $oldBug->branch;
$buildData->product = (int)$oldBug->product;
$buildData->branch = (int)$oldBug->branch;
$buildData->project = $bug->buildProject;
$buildData->name = $bug->buildName;
$buildData->date = date('Y-m-d');