by mikeryan: Keep complete() handler from blowing away fields
authorMike Ryan
Tue, 21 Jun 2011 21:05:26 +0000 (16:05 -0500)
committerMike Ryan
Tue, 21 Jun 2011 21:05:26 +0000 (16:05 -0500)
plugins/destinations/fields.inc

index 8f3d098..754594f 100644 (file)
@@ -61,7 +61,7 @@ class MigrateFieldsEntityHandler extends MigrateDestinationHandler {
           $entity->$machine_name = array($entity->$machine_name);
         }
         $field_info = field_info_field($machine_name);
-        $entity->$machine_name = migrate_field_handler_invoke_all($entity, $field_info,
+        migrate_field_handler_invoke_all($entity, $field_info,
           $instance, $entity->$machine_name, 'complete');
       }
     }