Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.15
-
Fix Version/s: 4.7.25
-
Component/s: CiviCRM API, CiviEvent
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Contributed Code
-
Verified?:No
Description
If you want to retrieve an address using the API like this:
$result = civicrm_api3('Address', 'get', ['id' => $myAddressId]);
And if this address is a loc block address (e.g. the location of an event), no address will be retrieved, because 'contact_id' of a loc block address is NULL.
I have a hacky patch to work around this; I will post it in a minute.
Attachments
Issue Links
- links to