Commit 8c7bb6b7 authored by mattwire's avatar mattwire
Browse files

Fix getAddress.io

parent b26cdcb0
......@@ -159,7 +159,7 @@ class CRM_Civicrmpostcodelookup_Page_GetAddressIo extends CRM_Civicrmpostcodeloo
break;
}
}
elseif (curl_errno($curlSession)) {
elseif (!empty($curlError['code'])) {
// Log & return error
$addressData['is_error'] = 1;
Civi::log()->debug('GetAddressIo cURL error: ' . print_r($curlError, TRUE));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment