From d5859954def6c05f8ce28f5f33a257f9ade9f9aa Mon Sep 17 00:00:00 2001 From: Peter Rotich <peter@osticket.com> Date: Fri, 28 Nov 2014 16:43:30 +0000 Subject: [PATCH] bug: Validate thread entry Validate all fields with data even if it's for presentation only --- include/class.forms.php | 1 + 1 file changed, 1 insertion(+) diff --git a/include/class.forms.php b/include/class.forms.php index 60aca0e94..048a05e4e 100644 --- a/include/class.forms.php +++ b/include/class.forms.php @@ -95,6 +95,7 @@ class Form { foreach ($this->getFields() as $key=>$field) { if (!$field->hasData()) continue; + $this->_clean[$key] = $this->_clean[$field->get('name')] = $field->getClean(); } -- GitLab