Closed (outdated)
Project:
Profile 2
Version:
7.x-1.6
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Jul 2019 at 18:39 UTC
Updated:
14 Nov 2019 at 11:46 UTC
Jump to comment: Most recent
Comments
Comment #2
rickj commentedThe content of a reference field is not in 'value', it's in 'target_id'.
Comment #3
aitala commentedSo this?
$author_uid = $profile['editor']->field_author_reference['und'][0]['target_id'];Comment #4
rickj commentedYep, that should work.
Comment #5
rickj commented