* fix bug #677.
This commit is contained in:
@@ -178,8 +178,7 @@ class buildModel extends model
|
||||
public function update($buildID)
|
||||
{
|
||||
$oldBuild = $this->getByID($buildID);
|
||||
$build = fixer::input('post')
|
||||
->stripTags($this->config->build->editor->edit['id'], $this->config->allowedTags)
|
||||
$build = fixer::input('post')->stripTags($this->config->build->editor->edit['id'], $this->config->allowedTags)
|
||||
->remove('allchecker,resolvedBy,files,labels')
|
||||
->get();
|
||||
|
||||
|
||||
@@ -142,12 +142,7 @@ class releaseModel extends model
|
||||
public function update($releaseID)
|
||||
{
|
||||
$oldRelease = $this->getByID($releaseID);
|
||||
$release = fixer::input('post')
|
||||
->setDefault('stories', '')
|
||||
->setDefault('bugs', '')
|
||||
->join('stories', ',')
|
||||
->join('bugs', ',')
|
||||
->stripTags($this->config->release->editor->edit['id'], $this->config->allowedTags)
|
||||
$release = fixer::input('post')->stripTags($this->config->release->editor->edit['id'], $this->config->allowedTags)
|
||||
->remove('files,labels,allchecker')
|
||||
->get();
|
||||
$this->dao->update(TABLE_RELEASE)->data($release)
|
||||
|
||||
Reference in New Issue
Block a user