diff --git a/include/class.dynamic_forms.php b/include/class.dynamic_forms.php index 52e3109356db760e6a9d412c7782b5697b9891ec..d15617cd3223c7fbab32cd53185dbd7e8000ba0c 100644 --- a/include/class.dynamic_forms.php +++ b/include/class.dynamic_forms.php @@ -130,6 +130,7 @@ class DynamicForm extends VerySimpleModel { foreach ($ht['fields'] as $f) { $f = DynamicFormField::create($f); $f->form_id = $inst->id; + $f->setForm($inst); $f->save(); } }