Closed (duplicate)
Project:
CiviNode And Civinode CCK
Version:
5.x-1.x-dev
Component:
CCK Integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2007 at 10:35 UTC
Updated:
9 Jun 2008 at 16:15 UTC
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
Comment #1
sutharsan commentedCreated my issue after finding this one.
Duplicate issue with patch is here: http://drupal.org/node/268483