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

Merge pull request #378 from greezybacon/issue/374


Ensure form for fields created during install

Reviewed-By: default avatarPeter Rotich <peter@osticket.com>
parents 5c676b43 05be7f02
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,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