Index: profile_migrate.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/profile_migrate/profile_migrate.module,v
retrieving revision 1.2
diff -u -p -r1.2 profile_migrate.module
--- profile_migrate.module	3 Dec 2009 10:43:28 -0000	1.2
+++ profile_migrate.module	4 Dec 2009 17:32:45 -0000
@@ -211,7 +211,7 @@ function profile_migrate_fields($type_na
       break;
         
       case 'textarea':
-        $field['type'] = 'text_long';
+        $field['type'] = 'text';
         $field['module'] = 'text';
         $field['widget']['type'] = 'text_textarea';
         $field['widget']['module'] = 'text';
@@ -224,14 +224,15 @@ function profile_migrate_fields($type_na
         break;
         
       case 'checkbox':
-        $field['type'] = 'integer';
-        $field['module'] = 'text';
+        $field['type'] = 'number_integer';
+        $field['module'] = 'number';
         $field['widget']['type'] = 'optionwidgets_onoff';
         $field['widget']['module'] = 'optionwidgets';
         
         $field['text_processing'] = 0;
         $field['max_length'] = '';
-        $field['allowed_values'] = $old_field->options;
+        $field['allowed_values'] = '0|--
+1|' . $old_field->title;
         $field['allowed_values_php'] = '';
         break;
         
@@ -461,8 +462,10 @@ function profile_migrate_data($type_name
       
       case 'textarea':
         $node->$field_name = array(
-          'value' => $row->value,
-          'format' => 1,
+          0 => array(
+            'value' => $row->value,
+            'format' => 1,
+          ),
         );
         break;
           
@@ -504,4 +507,4 @@ function profile_migrate_batch_finished(
   }
   //dsm($_SESSION['sandbox']);
   cache_clear_all();
-}
\ No newline at end of file
+}
