From 18d6a475b2492045a6d28b9309a76d37c0ea2bb5 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sat, 20 Aug 2016 07:28:43 +1000 Subject: [PATCH] Fix class name following testing locally --- CRM/Utils/Address.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Address.php b/CRM/Utils/Address.php index 01429fb4f3..581da23a08 100644 --- a/CRM/Utils/Address.php +++ b/CRM/Utils/Address.php @@ -98,7 +98,7 @@ class CRM_Utils_Address { if ($mailing && !empty($fields['country'])) { if (Civi::settings()->get('hideCountryMailingLabels')) { $domain = CRM_Core_BAO_Domain::getDomain(); - $domainLocation = CRM_Core_Location::getValues(array('contact_id' => $domain->contact_id)); + $domainLocation = CRM_Core_BAO_Location::getValues(array('contact_id' => $domain->contact_id)); $domainAddress = $domainLocation['address'][1]; $domainCountryId = $domainAddress['country_id']; if ($fields['country'] == CRM_Core_PseudoConstant::country($domainCountryId)) { -- 2.25.1