Index: branches/5.0.x/core/units/custom_fields/custom_fields_config.php =================================================================== diff -u -N -r13331 -r13374 --- branches/5.0.x/core/units/custom_fields/custom_fields_config.php (.../custom_fields_config.php) (revision 13331) +++ branches/5.0.x/core/units/custom_fields/custom_fields_config.php (.../custom_fields_config.php) (revision 13374) @@ -1,6 +1,6 @@ Array ('type' => 'int', 'not_null' => 1, 'default' => ''), + 'OptionKey' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), 'OptionTitle' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), 'Options' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''), Index: branches/5.0.x/core/admin_templates/js/form_controls.js =================================================================== diff -u -N -r12117 -r13374 --- branches/5.0.x/core/admin_templates/js/form_controls.js (.../form_controls.js) (revision 12117) +++ branches/5.0.x/core/admin_templates/js/form_controls.js (.../form_controls.js) (revision 13374) @@ -247,7 +247,7 @@ for (var $i = 0; $i < $node.childNodes.length; $i++) { var $child = $node.childNodes.item($i); if ($child.tagName == 'record') { - this.Records[this.Records.length] = new Array (); + this.Records[this.Records.length] = {}; this.ProcessXMLNode($child, $root_name); this.ShowRecord(this.Records.length - 1); }