* Fix bug#20878.

This commit is contained in:
xieqiyu
2022-03-25 14:15:30 +08:00
parent 01310e31ce
commit 39123bd4d9
2 changed files with 9 additions and 3 deletions
+1
View File
@@ -684,6 +684,7 @@ class bug extends control
if(!empty($_POST))
{
$actions = $this->bug->batchCreate($productID, $branch, $extra);
if(dao::isError()) return $this->send(array('result' => 'fail', 'message' => dao::getError()));
/* Return bug id list when call the API. */
if($this->viewType == 'json')