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:
621f12d
)
dev/core/issues/636 - Check if value is isset rather empty
author
Pradeep Nayak
<pradpnayak@gmail.com>
Fri, 4 Jan 2019 11:25:37 +0000
(11:25 +0000)
committer
Pradeep Nayak
<pradpnayak@gmail.com>
Fri, 4 Jan 2019 11:25:37 +0000
(11:25 +0000)
CRM/Contact/Form/Edit/Address.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Form/Edit/Address.php
b/CRM/Contact/Form/Edit/Address.php
index 2429d98dca6012a2b944214e52bd41146d38d9a1..0e4399f033b7b6bcf39e163815b5e343fc0819da 100644
(file)
--- a/
CRM/Contact/Form/Edit/Address.php
+++ b/
CRM/Contact/Form/Edit/Address.php
@@
-413,7
+413,7
@@
class CRM_Contact_Form_Edit_Address {
// 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;
}