diff --git a/module/bug/model.php b/module/bug/model.php index b256e038c6..c59d96aa25 100644 --- a/module/bug/model.php +++ b/module/bug/model.php @@ -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); diff --git a/module/story/model.php b/module/story/model.php index d4802a42a8..b5ed667e84 100644 --- a/module/story/model.php +++ b/module/story/model.php @@ -160,7 +160,7 @@ class storyModel extends model ->setIF($bugID > 0, 'fromBug', $bugID) ->join('mailto', ',') ->stripTags($this->config->story->editor->create['id'], $this->config->allowedTags) - ->remove('files,labels,needNotReview,newStory,uid') + ->remove('files,labels,needNotReview,newStory,uid,contactListMenu') ->get(); /* Check repeat story. */ @@ -492,7 +492,7 @@ class storyModel extends model ->setIF($this->post->closedReason != false and $this->post->closedBy == false, 'closedBy', $this->app->user->account) ->join('reviewedBy', ',') ->join('mailto', ',') - ->remove('linkStories,childStories,files,labels,comment') + ->remove('linkStories,childStories,files,labels,comment,contactListMenu') ->get(); if(isset($story->plan) and is_array($story->plan)) $story->plan = trim(join(',', $story->plan), ','); if(empty($_POST['product'])) $story->branch = $oldStory->branch; diff --git a/module/task/model.php b/module/task/model.php index 6ffadc363f..f382698a27 100644 --- a/module/task/model.php +++ b/module/task/model.php @@ -39,7 +39,7 @@ class taskModel extends model ->setDefault('openedDate', helper::now()) ->stripTags($this->config->task->editor->create['id'], $this->config->allowedTags) ->join('mailto', ',') - ->remove('after,files,labels,assignedTo,uid,storyEstimate,storyDesc,storyPri,team,teamEstimate,teamMember,multiple,teams') + ->remove('after,files,labels,assignedTo,uid,storyEstimate,storyDesc,storyPri,team,teamEstimate,teamMember,multiple,teams,contactListMenu') ->get(); foreach($this->post->assignedTo as $assignedTo) @@ -530,7 +530,7 @@ class taskModel extends model ->add('lastEditedDate', $now) ->stripTags($this->config->task->editor->edit['id'], $this->config->allowedTags) ->join('mailto', ',') - ->remove('comment,files,labels,uid,multiple,team,teamEstimate,teamConsumed,teamLeft') + ->remove('comment,files,labels,uid,multiple,team,teamEstimate,teamConsumed,teamLeft,contactListMenu') ->get(); if($task->consumed < $oldTask->consumed) die(js::error($this->lang->task->error->consumedSmall)); diff --git a/module/testtask/model.php b/module/testtask/model.php index 6cbe2fa05d..ba8d7d87f6 100644 --- a/module/testtask/model.php +++ b/module/testtask/model.php @@ -99,7 +99,7 @@ class testtaskModel extends model ->setDefault('build', '') ->stripTags($this->config->testtask->editor->create['id'], $this->config->allowedTags) ->join('mailto', ',') - ->remove('uid') + ->remove('uid,contactListMenu') ->get(); $task = $this->loadModel('file')->processImgURL($task, $this->config->testtask->editor->create['id'], $this->post->uid);