Index: modules/content_profile_registration.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/content_profile/modules/Attic/content_profile_registration.module,v
retrieving revision 1.1.2.34
diff -u -p -r1.1.2.34 content_profile_registration.module
--- modules/content_profile_registration.module	5 Aug 2009 13:51:56 -0000	1.1.2.34
+++ modules/content_profile_registration.module	11 Sep 2009 20:53:11 -0000
@@ -173,6 +173,13 @@ function content_profile_registration_ad
   foreach (element_children($form_add) as $key) {
     $form['#content_profile_weights'] += array($key => $weight);
   }
+
+  //Look for and add important form attributes
+  //enctype: for filefield uploads.
+  // @see filefield.module
+  if (isset($node_form['#attributes']['enctype'])){
+    $form['#attributes']['enctype'] = $node_form['#attributes']['enctype'];
+  }
 }
 
 /**
