From 719cec4bdcd21b00642bfcbcc19f37cb1cf22f7b Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Tue, 21 Apr 2015 14:07:38 -0500 Subject: [PATCH] oops: Fix mis-merge and install crash --- include/class.dynamic_forms.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class.dynamic_forms.php b/include/class.dynamic_forms.php index 834a40deb..9295eec83 100644 --- a/include/class.dynamic_forms.php +++ b/include/class.dynamic_forms.php @@ -198,7 +198,7 @@ class DynamicForm extends VerySimpleModel { $inst->save(); foreach ($ht['fields'] as $f) { $field = DynamicFormField::create(array('form' => $inst) + $f); - $f->save(); + $field->save(); } } return $inst; -- GitLab