Commit 2a4b8531 authored by KarenS's avatar KarenS
Browse files

Issue #1154508, fix missing break in

parent f8244407
......@@ -22,6 +22,7 @@ function content_migrate_filefield_field_alter(&$field_value, $instance_value) {
$field_value['type'] = 'image';
// default_image is now a field setting.
$field_value['settings']['default_image'] = $instance_value['widget']['settings']['default_image'];
// There are a bunch of custom filefield widgets. If they at least start the widget name with 'filefield' this will work.
if (substr($instance_value['widget']['type'], 0, 9) == 'filefield') {
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