From c2c86ff58b63e5a5d8a71e4e62efd01e21dd5883 Mon Sep 17 00:00:00 2001
From: Jared Hancock <jared@osticket.com>
Date: Fri, 6 Jun 2014 16:53:46 -0500
Subject: [PATCH] Partially revert 37b8d549d610c

That patch introduced a bug where the list of dynamic fields for a form is
always empty
---
 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 206db1ef9..49a18f00e 100644
--- a/include/class.dynamic_forms.php
+++ b/include/class.dynamic_forms.php
@@ -41,7 +41,7 @@ class DynamicForm extends VerySimpleModel {
     var $_form;
     var $_fields;
     var $_has_data = false;
-    var $_dfields = array();
+    var $_dfields;
 
     function getFields($cache=true) {
         if (!isset($this->_fields) || !$cache) {
-- 
GitLab