diff --git a/module/testsuite/model.php b/module/testsuite/model.php index 360314084a..ae73a101fd 100644 --- a/module/testsuite/model.php +++ b/module/testsuite/model.php @@ -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)