diff -rup ./contrib/fb_registration.info ../fb-fixed/contrib/fb_registration.info
--- ./contrib/fb_registration.info	2011-03-22 12:26:33.000000000 -0700
+++ ../fb-fixed/contrib/fb_registration.info	2011-03-22 12:27:12.000000000 -0700
@@ -1,9 +1,10 @@
 name = Registration (fb_registration.module)
 description = Use the <a href=http://developers.facebook.com/docs/user_registration target=_blank>registration</a> feature.
 package = Drupal for Facebook - contrib
-core = 6.x
+core = 7.x
 dependencies[] = fb
 dependencies[] = fb_app
+files[] = fb_registration.module
 
 
 ; Information added by drupal.org packaging script on 2011-02-25
diff -rup ./contrib/fb_registration.module ../fb-fixed/contrib/fb_registration.module
--- ./contrib/fb_registration.module	2011-03-22 12:26:33.000000000 -0700
+++ ../fb-fixed/contrib/fb_registration.module	2011-03-22 12:27:12.000000000 -0700
@@ -63,7 +63,7 @@ function fb_registration_form_alter(&$fo
       // The form has been submitted.  We don't need to alter it.  Instead we
       // must submit the original form.
 
-      // Captcha is a special case, we can't require it during drupal_execute.
+      // Captcha is a special case, we can't require it during drupal_form_submit.
       $form['captcha'] = NULL;
 
       if (!isset($form_state['fb_registration_avoid_recursion'])) {
@@ -80,7 +80,8 @@ function fb_registration_form_alter(&$fo
           }
         }
 
-        drupal_execute($form_id, $state);
+        drupal_form_submit($form_id, $state);
+
         // If successful, user will be redirected to another page.
       }
       return;
@@ -91,7 +92,7 @@ function fb_registration_form_alter(&$fo
 
     _fb_registration_extract_fb_fields($fb_fields, $form);
 
-    $redirect_url = url(request_path()), array('absolute' => TRUE));
+    $redirect_url = url(request_path(), array('absolute' => TRUE));
     $fields = json_encode($fb_fields);
 
     if (FALSE) {
@@ -200,4 +201,4 @@ function _fb_registration_extract_fb_fie
       $form[$key] = NULL;
     }
   }
-}
\ No newline at end of file
+}
Only in .: fb_reg_port.patch
