# This patch file was generated by NetBeans IDE
# Following Index: paths are relative to: \sites\all\modules\autoassignrole
# This patch can be applied using context Tools: Patch action on respective folder.
# It uses platform neutral UTF-8 encoding and \n newlines.
# Above lines and this line are ignored by the patching process.
Index: autoassignrole.module
--- autoassignrole.module Base (BASE)
+++ autoassignrole.module Locally Modified (Based On LOCAL)
@@ -442,10 +442,11 @@
     while ($r = db_fetch_object($result)) {
       $options[$r->rid] = filter_xss_admin("($r->name) $r->path");
     }
+    $settings = content_profile_get_settings($type);
     $form['registration']['autoassignrole_use'] = array(
       '#type' => 'checkboxes',
       '#title' => t('Use on Auto Assign Role paths'),
-      '#default_value' => content_profile_get_settings($type),
+      '#default_value' => $settings['autoassignrole_use'],
       '#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,
