Index: realname_content_profile.inc =================================================================== RCS file: /cvs/drupal-contrib/contributions/modules/realname/Attic/realname_content_profile.inc,v retrieving revision 1.1.2.7 diff -u -p -r1.1.2.7 realname_content_profile.inc --- realname_content_profile.inc 1 Oct 2009 15:25:11 -0000 1.1.2.7 +++ realname_content_profile.inc 29 Apr 2010 13:27:09 -0000 @@ -9,6 +9,10 @@ * Implementation of hook_profile_load(); */ function content_profile_load_profile(&$account, $type = NULL) { + if (($account->type) && (!in_array($account->type, array_keys(content_profile_get_types('names'))))) { + // Node Type is not not a content profile ... skipping. + return; + } $profile = content_profile_load($type, $account->uid); if (!$profile) { return;