Commit be105797 authored by Jody Lynn's avatar Jody Lynn Committed by colan
Browse files

Issue #1279084 by Jody Lynn, attheshow: Don't lose "required" setting on migrated fields.

parent 08e23380
......@@ -139,7 +139,7 @@ function _content_migrate_get_instance_values($bundle = NULL, $field_name = NULL
'module' => $instance_value['module'],
'settings' => unserialize($instance_value['global_settings']),
unset($instance_value['type'], $instance_value['module'], $instance_value['required'], $instance_value['global_settings']);
unset($instance_value['type'], $instance_value['module'], $instance_value['global_settings']);
// All Drupal 6 instances were attached to nodes.
$instance_value['entity_type'] = 'node';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment