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

Ensure form for fields created during install

Fixes #374
parent 3dba1f06
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
}
......
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