? .svn
? 789886.patch
? 835880
? 835880.patch
? 839640-a.patch
? 839640-b.patch
? 839640.patch
? views/.svn
Index: uc_signup.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_signup/uc_signup.module,v
retrieving revision 1.58
diff -u -p -r1.58 uc_signup.module
--- uc_signup.module	4 Jul 2010 03:38:44 -0000	1.58
+++ uc_signup.module	4 Jul 2010 03:44:17 -0000
@@ -89,7 +89,11 @@ function uc_signup_requirements($phase) 
  */
 function uc_signup_profile_form() {
   include_once(drupal_get_path('module', 'user') .'/user.pages.inc');
-  $profile_form = array_values(module_invoke('profile', 'user', 'register', array(), (object)array()));
+  $profile_form = module_invoke('profile', 'user', 'register', array(), (object)array());
+  if (empty($profile_form)) {
+    $profile_form = array();
+  }
+  $profile_form = array_values($profile_form);
   return $profile_form;
 }
 
