Skip to content
Snippets Groups Projects
Commit d5859954 authored by Peter Rotich's avatar Peter Rotich
Browse files

bug: Validate thread entry

Validate all fields with data even if it's for presentation only
parent bebc2d79
No related branches found
No related tags found
No related merge requests found
...@@ -95,6 +95,7 @@ class Form { ...@@ -95,6 +95,7 @@ class Form {
foreach ($this->getFields() as $key=>$field) { foreach ($this->getFields() as $key=>$field) {
if (!$field->hasData()) if (!$field->hasData())
continue; continue;
$this->_clean[$key] = $this->_clean[$field->get('name')] $this->_clean[$key] = $this->_clean[$field->get('name')]
= $field->getClean(); = $field->getClean();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment