* [bug#68963,done,0.1h] fix batch create bugs error when the field check error.

This commit is contained in:
tianshujie
2026-01-09 15:37:05 +08:00
parent 859c74c92d
commit f10dfbdbcf

View File

@@ -831,6 +831,7 @@ class bug extends control
{
if(!empty($bug->assignedTo)) $bug->assignedDate = helper::now();
$bug->id = $this->bug->create($bug);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
/* 批量创建后的一些其他操作。*/
/* Processing other operations after batch creation. */