This commit is contained in:
tianshujie98
2020-12-07 14:37:44 +08:00
parent 9cdcd2a428
commit f5f3dcfc99
+1 -1
View File
@@ -33,7 +33,7 @@ class todoModel extends model
->setIF($this->post->type == 'feedback' and $this->post->feedback, 'idvalue', $this->post->feedback)
->setIF($this->post->date == false, 'date', '2030-01-01')
->setIF($this->post->begin == false, 'begin', '2400')
->setIF($this->post->end == false, 'end', '2400')
->setIF($this->post->begin == false or $this->post->end == false, 'end', '2400')
->stripTags($this->config->todo->editor->create['id'], $this->config->allowedTags)
->remove('bug, task, story, uid, feedback')
->get();