Skip to content

Commit

Permalink
Merge pull request #13397 from pradpnayak/AddressCustomFieldFix
Browse files Browse the repository at this point in the history
dev/core/issues/636 - Custom field for Address: The "No" value is not defaulted
  • Loading branch information
seamuslee001 authored Jan 6, 2019
2 parents 2a8edd9 + 2e19e48 commit 827c534
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Contact/Form/Edit/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ protected static function addCustomDataToForm(&$form, $entityId, $blockId) {
// since we change element name for address custom data, we need to format the setdefault values
$addressDefaults = array();
foreach ($defaults as $key => $val) {
if (empty($val)) {
if (!isset($val)) {
continue;
}

Expand Down

0 comments on commit 827c534

Please sign in to comment.