Issue #1154508, fix missing break in filefield.inc.
authorKaren Stevenson
Fri, 20 May 2011 01:54:23 +0000 (20:54 -0500)
committerKaren Stevenson
Fri, 20 May 2011 01:54:23 +0000 (20:54 -0500)
modules/content_migrate/modules/content_migrate.filefield.inc

index a5b216b..a3df020 100644 (file)
@@ -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'];
+    break;
   }
   // 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') {