Index: autoassignrole.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/autoassignrole/autoassignrole.module,v
retrieving revision 1.9.2.32
diff -u -p -r1.9.2.32 autoassignrole.module
--- autoassignrole.module	14 May 2010 00:31:48 -0000	1.9.2.32
+++ autoassignrole.module	22 Jul 2010 15:09:15 -0000
@@ -445,7 +445,7 @@ function autoassignrole_form_alter(&$for
     $form['registration']['autoassignrole_use'] = array(
       '#type' => 'checkboxes',
       '#title' => t('Use on Auto Assign Role paths'),
-      '#default_value' => content_profile_get_settings($type, 'autoassignrole_use'),
+      '#default_value' => content_profile_get_settings($type),
       '#options' => $options,
       '#description' => t('The Auto Assign Role module gives you the ability to assign paths a user can register from for a role.  After associating a <a href="@aar">path with a role</a> your selection can  associate this content type with a path.', array('@aar' => url('admin/user/autoassignrole'))),
       '#disabled' => count($options) == 0,
@@ -458,7 +458,7 @@ function autoassignrole_form_alter(&$for
       // Set the content types which should be shown by the content_profile_registration module
       $form['#content_profile_registration_use_types'] = array();
       foreach (content_profile_get_types('names') as $type => $name) {
-        if (in_array($rid, content_profile_get_settings($type, 'autoassignrole_use'))) {
+        if (in_array($rid, content_profile_get_settings($type))) {
           $form['#content_profile_registration_use_types'][$type] = $name;
         }
       }
