projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fea52a5
)
CRM-10551: Allow deletion of blanked location-based fields
author
JKingsnorth
<john@johnkingsnorth.co.uk>
Wed, 25 Feb 2015 15:42:53 +0000
(15:42 +0000)
committer
JKingsnorth
<john@johnkingsnorth.co.uk>
Wed, 25 Feb 2015 15:42:53 +0000
(15:42 +0000)
CRM/Contact/BAO/Contact.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/BAO/Contact.php
b/CRM/Contact/BAO/Contact.php
index 26cef83f16af3012875ec54174ecc74199b67e2a..5a4d12a392f7a92f840059998fdacfceda61df80 100644
(file)
--- 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);
}