* finish task #3198.

This commit is contained in:
wangyidong
2017-08-22 10:20:24 +08:00
parent 624950cfc9
commit 8ea15d424f
8 changed files with 22 additions and 13 deletions
+1
View File
@@ -200,6 +200,7 @@ class buildModel extends model
->stripTags($this->config->build->editor->create['id'], $this->config->allowedTags)
->remove('resolvedBy,allchecker,files,labels,uid')
->get();
if($this->config->global->flow == 'onlyTest') $build->project = 0;
$build = $this->loadModel('file')->processImgURL($build, $this->config->build->editor->create['id'], $this->post->uid);
$this->dao->insert(TABLE_BUILD)->data($build)