Index: branches/RC/core/units/custom_data/custom_data_event_handler.php =================================================================== diff -u -r10832 -r10856 --- branches/RC/core/units/custom_data/custom_data_event_handler.php (.../custom_data_event_handler.php) (revision 10832) +++ branches/RC/core/units/custom_data/custom_data_event_handler.php (.../custom_data_event_handler.php) (revision 10856) @@ -110,7 +110,7 @@ foreach ($custom_fields as $custom_id => $custom_params) { $custom_name = $custom_params['FieldName']; - $field_options = Array('type' => 'string', 'not_null' => 1, 'default' => ''); + $field_options = Array('type' => 'string', 'not_null' => 1, 'default' => $custom_params['DefaultValue']); switch ($custom_params['ElementType']) { case 'date':