Commit 365513e3 authored by Ryan Dekker's avatar Ryan Dekker Committed by kenorb
Browse files

Issue #2284041 by ryandekker: Wrong behavior with multiple profiles

parent 5920efea
Loading
Loading
Loading
Loading
+2 −2
Changes for account_profile.module: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
@@ -28,7 +28,7 @@ function account_profile_menu_alter(&$items) {
 * Attach selected profiles to user edit form.
 */
function account_profile_form_user_profile_form_alter(&$form, &$form_state) {

  if ($form['#user_category'] == 'account') {
    $types = profile2_get_types();

    // We take care of profiles weights.
@@ -56,7 +56,7 @@ function account_profile_form_user_profile_form_alter(&$form, &$form_state) {
        }
      }
    }

  }
}

/**