This commit is contained in:
hufangzhou
2021-12-08 17:52:19 +08:00
parent dc2ea56141
commit ebcc470de1

View File

@@ -60,6 +60,7 @@ class testsuiteModel extends model
public function create($productID)
{
$suite = fixer::input('post')
->trim('name')
->stripTags($this->config->testsuite->editor->create['id'], $this->config->allowedTags)
->setIF($this->config->systemMode == 'new' and $this->lang->navGroup->testsuite != 'qa', 'project', $this->session->project)
->add('product', (int)$productID)