Commit 732ed2bf authored by yched's avatar yched
Browse files

Issue #1293858 by Jody Lynn: Fixed typo, caused migrated filefields to not display correctly

parent 3ad511f1
...@@ -88,7 +88,7 @@ function content_migrate_filefield_instance_alter(&$instance_value, $field_value ...@@ -88,7 +88,7 @@ function content_migrate_filefield_instance_alter(&$instance_value, $field_value
// Note; the 'path_plain' D6 formatter has disappeared. // Note; the 'path_plain' D6 formatter has disappeared.
if (in_array($settings['type'], array('default', 'url_plain'))) { if (in_array($settings['type'], array('default', 'url_plain'))) {
$instance_value['display'][$context]['type'] = 'file_'. $settings['type']; $instance_value['display'][$context]['type'] = 'file_'. $settings['type'];
$instance_value['display'][$context]['moduke'] = 'file'; $instance_value['display'][$context]['module'] = 'file';
} }
} }
} }
......
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