? 653518-2_body_array.patch
? ucreate.message_body_as_array.patch
Index: ucreate.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ucreate/ucreate.module,v
retrieving revision 1.3.4.9
diff -u -p -r1.3.4.9 ucreate.module
--- ucreate.module	14 Jul 2010 14:12:38 -0000	1.3.4.9
+++ ucreate.module	14 Jul 2010 14:43:23 -0000
@@ -34,7 +34,7 @@ function ucreate_menu() {
     'description' => 'Configure default roles for users created by U create module.',
     'access arguments' => array('administer site configuration'),
     );
-    
+
   $items['user/%user/block'] = array(
     'page callback' => 'drupal_get_form',
     'page arguments' => array('ucreate_block_form', 1, 'block'),
@@ -55,7 +55,7 @@ function ucreate_menu() {
     'access arguments' => array('block users', 1, 'activate'),
     'type' => MENU_LOCAL_TASK,
     );
-    
+
   return $items;
 }
 
@@ -73,16 +73,16 @@ function ucreate_access_suspend($access_
   global $user;
 
   if (user_access($access_rule)) {
-    
+
     if ($account->uid >= 1) {
     // Don't provide links if userid is 1 or 0
-    
+
       if ($account->uid != $user->uid) {
-      // User can not block themselves 
-        
+      // User can not block themselves
+
         if (($op == 'activate' && $account->status == 0) || ($op == 'block' && $account->status == 1)) {
         // Only show if action is possible
-          return true; 
+          return true;
         }
       }
     }
@@ -331,8 +331,10 @@ function ucreate_user_create($edit) {
   return $account;
 }
 
-
+/**
+ * Implementation of hook_mail().
+ */
 function ucreate_mail($key, &$message, $params) {
   $message['subject'] = $params['subject'];
-  $message['body'] = $params['body'];
+  $message['body'][] = $params['body'];
 }
Index: ucreate_og.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/ucreate/ucreate_og.module,v
retrieving revision 1.2.4.9
diff -u -p -r1.2.4.9 ucreate_og.module
--- ucreate_og.module	14 Jul 2010 14:17:24 -0000	1.2.4.9
+++ ucreate_og.module	14 Jul 2010 14:43:23 -0000
@@ -23,7 +23,7 @@ function ucreate_og_form_alter(&$form, $
 function ucreate_og_mail_alter(&$message) {
   if ($message['id'] == 'ucreate_ucreate-create' && $account = _ucreate_og_get_last_edit()) {
     if (is_array($account['ucreate_og_group_titles'])) {
-      $message['body'] .= "\n\n". t('We also added you as member to the group(s): !groups', array('!groups' => implode(', ', $account['ucreate_og_group_titles'])));
+      $message['body'][] = "\n\n". t('We also added you as member to the group(s): !groups', array('!groups' => implode(', ', $account['ucreate_og_group_titles'])));
     }
   }
 }
