If you set a CiviCRM Contact field as a Contact Profile instead of Default, you'll get an error whenever the node is displayed, reason is a typo in theme_civinode_cck_profiled_contact line 487

function theme_civinode_cck_profiled_contact($item) {
  $output = '';
  $object_id = $item['object_id'];
  $default_profile = civinode_get_default_profile_id(0);
  $output .= theme('crm_profile_cid', $profile, $object_id);
  return $output;
}

should be

function theme_civinode_cck_profiled_contact($item) {
  $output = '';
  $object_id = $item['object_id'];
  $profile = civinode_get_default_profile_id(0);
  $output .= theme('crm_profile_cid', $profile, $object_id);
  return $output;
}

Comments

sutharsan’s picture

Status: Active » Closed (duplicate)

Created my issue after finding this one.
Duplicate issue with patch is here: http://drupal.org/node/268483