Skip to content
Snippets Groups Projects
Commit e2315506 authored by Jared Hancock's avatar Jared Hancock
Browse files

oops: Fix create call for dynamic forms

parent c2e81b8f
No related branches found
No related tags found
No related merge requests found
......@@ -1200,7 +1200,7 @@ class DynamicFormEntry extends VerySimpleModel {
&& $field->hasData()
&& $field->isStorable()
) {
$a = DynamicFormEntryAnswer::create(
$a = new DynamicFormEntryAnswer(
array('field_id'=>$field->get('id'), 'entry'=>$this));
// Add to list of answers
......
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