? 258314_8_pathauto_doxygen_batch_2.patch
? 261060_3_editing_profile_kills_blog_alias.patch
? i18n-ascii.txt
? pathauto_5.x.2-2_customProfile.patch
? pathauto_doxygen_cleanup_batch_2.patch
? pathauto_menu.patch
? pathauto_termalias2.patch
Index: pathauto.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/pathauto/pathauto.module,v
retrieving revision 1.110
diff -u -p -r1.110 pathauto.module
--- pathauto.module	20 May 2008 18:09:08 -0000	1.110
+++ pathauto.module	24 May 2008 23:24:00 -0000
@@ -385,8 +385,10 @@ function pathauto_user($op, &$edit, &$us
 
         if (module_exists('blog')) {
           $new_user = $user;
-          $new_user->roles = isset($edit['roles']) ? $edit['roles']: array();
-          $new_user->roles[DRUPAL_AUTHENTICATED_RID] = 'authenticated user'; // Add this back
+          if ($category == 'account') {
+            $new_user->roles = isset($edit['roles']) ? $edit['roles']: array();
+            $new_user->roles[DRUPAL_AUTHENTICATED_RID] = 'authenticated user'; // Add this back
+          }
           if (user_access('create blog entries', $new_user)) {
             $src = 'blog/'. $user->uid;
             $alias = pathauto_create_alias('blog', $op, $placeholders, $src, $user->uid);
