Skip to content
Snippets Groups Projects
Unverified Commit a196fbd3 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4476 from JediKev/forms/disabled-by-topic-clients

forms: Disabled By Help Topic Users
parents b19cf261 0780eb7d
No related branches found
No related tags found
No related merge requests found
......@@ -155,8 +155,12 @@ class DynamicForm extends VerySimpleModel {
$inst = DynamicFormEntry::create(
array('form_id'=>$this->get('id'), 'sort'=>$sort)
);
if ($data)
$inst->setSource($data);
$inst->_fields = $this->_fields ?: null;
return $inst;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment