--- realname.module 2009-10-13 19:48:06.000000000 +0200 +++ realname.module 2010-08-23 22:42:12.055568417 +0200 @@ -217,6 +217,10 @@ function realname_check_breadcrumbs($acc * Fix some core bugs. */ function realname_user_view($account) { + // Set the page title. + if (isset($account->realname)) { + drupal_set_title($account->realname); + } realname_check_breadcrumbs($account); // Retrieve all profile fields and attach to $account->content. user_build_content($account); @@ -760,7 +764,7 @@ function _realname_make_name(&$account) drupal_set_message(t('The profile load function (!module) was not found.', array('!module' => $load_func)), 'error'); return $account->name; } - module_invoke($module, 'load_profile', $account, $type); + $load_func($account, $type); if ($profile_privacy) { profile_privacy_user('load', $edit, $account); }