projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
CRM_Utils_Array enotice compliance (from test)
[civicrm-core.git]
/
CRM
/
Utils
/
Array.php
diff --git
a/CRM/Utils/Array.php
b/CRM/Utils/Array.php
index 296f470a0024e07105bd12c6a882cd0b6f39f746..c6e8cfb93a86ff2c9ef9d9ace3ba3378f1007b47 100644
(file)
--- a/
CRM/Utils/Array.php
+++ b/
CRM/Utils/Array.php
@@
-519,7
+519,7
@@
class CRM_Utils_Array {
} else {
$keyvalue = $record->{$key};
}
- if (!is_array($node[$keyvalue])) {
+ if (
isset($node[$keyvalue]) &&
!is_array($node[$keyvalue])) {
$node[$keyvalue] = array();
}
$node = &$node[$keyvalue];