* [apiv1] Fix bug#68157.

This commit is contained in:
朱金勇
2026-01-04 16:17:32 +08:00
parent 027a464099
commit 89542f78fb
+2 -1
View File
@@ -66,8 +66,9 @@ class bugsEntry extends entry
$control = $this->loadController('bug', 'create');
$fields = 'title,project,execution,openedBuild,browser,os,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid,deadline,plan,feedbackBy';
$fields = 'title,project,execution,browser,branch,os,assignedTo,pri,module,severity,type,story,task,mailto,keywords,steps,uid,deadline,plan,feedbackBy';
$this->batchSetPost($fields);
$this->setPost('openedBuild', $this->request('openedBuild', ["trunk"]));
$caseID = $this->request('case', 0);
if($caseID)