From f779f8f4e9797cffbea5c74b89ac053d9ddefefa Mon Sep 17 00:00:00 2001
From: Neil Drumm <drumm@delocalizedham.com>
Date: Thu, 29 Mar 2012 09:51:52 -0700
Subject: [PATCH] [#1435360] User profile items should be user_profile_item

---
 bakery.module |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/bakery.module b/bakery.module
index 18c2bf2..e2c4a87 100644
--- a/bakery.module
+++ b/bakery.module
@@ -172,7 +172,7 @@ function bakery_user($op, &$array, &$account, $category = NULL) {
   else if ($op == 'view' && !variable_get('bakery_is_master', 0)) {
     if (substr($account->init, 0, strlen(variable_get('bakery_master', 'http://drupal.org/'))) == variable_get('bakery_master', 'http://drupal.org/')) {
       $account->content['summary']['master_profile'] = array(
-        '#type' => 'item',
+        '#type' => 'user_profile_item',
         '#title' => t('Primary profile'),
         '#value' => l(t('Profile on @master', array('@master' => variable_get('bakery_master', 'http://drupal.org'))), substr($account->init, 0, strlen($account->init) - 5)), // Remove the /edit part of the url.
         '#attributes' => array('class' => 'og_groups'),
-- 
1.7.5.4

