* Remove contactListMenu when submit form.

This commit is contained in:
daitingting
2018-05-18 14:12:19 +08:00
parent 18db97acfe
commit 71d60671f8
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -71,7 +71,7 @@ class bugModel extends model
->cleanInt('product, module, severity')
->join('openedBuild', ',')
->join('mailto', ',')
->remove('files, labels,uid,oldTaskID')
->remove('files, labels,uid,oldTaskID,contactListMenu')
->get();
/* Check repeat bug. */
@@ -545,7 +545,7 @@ class bugModel extends model
->setIF($this->post->resolution == '' and $this->post->resolvedDate =='', 'status', 'active')
->setIF($this->post->resolution != '', 'confirmed', 1)
->setIF($this->post->story != false and $this->post->story != $oldBug->story, 'storyVersion', $this->loadModel('story')->getVersion($this->post->story))
->remove('comment,files,labels,uid')
->remove('comment,files,labels,uid,contactListMenu')
->get();
$bug = $this->loadModel('file')->processImgURL($bug, $this->config->bug->editor->edit['id'], $this->post->uid);