From: JKingsnorth Date: Wed, 25 Feb 2015 15:42:53 +0000 (+0000) Subject: CRM-10551: Allow deletion of blanked location-based fields X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8d2914ef75390c327c1e14285078d379a20ecf50;p=civicrm-core.git CRM-10551: Allow deletion of blanked location-based fields --- diff --git a/CRM/Contact/BAO/Contact.php b/CRM/Contact/BAO/Contact.php index 26cef83f16..5a4d12a392 100644 --- a/CRM/Contact/BAO/Contact.php +++ b/CRM/Contact/BAO/Contact.php @@ -1859,6 +1859,9 @@ ORDER BY civicrm_email.is_primary DESC"; } if ($contactID) { + // CRM-10551: Allow deletion of blanked location-based fields + $params['updateBlankLocInfo'] = TRUE; + $editHook = TRUE; CRM_Utils_Hook::pre('edit', 'Profile', $contactID, $params); }