Merge branch 'zdoo18'
This commit is contained in:
@@ -772,8 +772,10 @@ class testtaskModel extends model
|
||||
$testtask = fixer::input('post')
|
||||
->add('id', $taskID)
|
||||
->setDefault('status', 'doing')
|
||||
->stripTags($this->config->testtask->editor->start['id'], $this->config->allowedTags)
|
||||
->remove('comment')->get();
|
||||
|
||||
$testtask = $this->loadModel('file')->processImgURL($testtask, $this->config->testtask->editor->start['id'], $this->post->uid);
|
||||
$this->dao->update(TABLE_TESTTASK)->data($testtask)
|
||||
->autoCheck()
|
||||
->checkFlow()
|
||||
@@ -838,8 +840,10 @@ class testtaskModel extends model
|
||||
$testtask = fixer::input('post')
|
||||
->add('id', $taskID)
|
||||
->setDefault('status', 'blocked')
|
||||
->stripTags($this->config->testtask->editor->block['id'], $this->config->allowedTags)
|
||||
->remove('comment')->get();
|
||||
|
||||
$testtask = $this->loadModel('file')->processImgURL($testtask, $this->config->testtask->editor->block['id'], $this->post->uid);
|
||||
$this->dao->update(TABLE_TESTTASK)->data($testtask)
|
||||
->autoCheck()
|
||||
->checkFlow()
|
||||
@@ -861,8 +865,10 @@ class testtaskModel extends model
|
||||
$oldTesttask = $this->getById($taskID);
|
||||
$testtask = fixer::input('post')
|
||||
->setDefault('status', 'doing')
|
||||
->stripTags($this->config->testtask->editor->activate['id'], $this->config->allowedTags)
|
||||
->remove('comment')->get();
|
||||
|
||||
$testtask = $this->loadModel('file')->processImgURL($testtask, $this->config->testtask->editor->activate['id'], $this->post->uid);
|
||||
$this->dao->update(TABLE_TESTTASK)->data($testtask)
|
||||
->autoCheck()
|
||||
->checkFlow()
|
||||
|
||||
Reference in New Issue
Block a user