From fdd82a7fd03424956723ea3de15b1ee2372a58ab Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Thu, 4 Sep 2014 15:23:38 -0500 Subject: [PATCH] oops: Fix incorrect fix in 37d40efdd --- 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 8b9f96182..eaa200679 100644 --- a/include/class.dynamic_forms.php +++ b/include/class.dynamic_forms.php @@ -953,7 +953,7 @@ class DynamicFormEntryAnswer extends VerySimpleModel { elseif (is_object($val) && method_exists($val, 'getId')) return array($val->getId()); - return($val); + return array($val); } function asVar() { -- GitLab