* Remove contactListMenu when submit form.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user