From f5810ff3baa262b762a7d80bdf03fb705d95f2cf Mon Sep 17 00:00:00 2001 From: Dakshayani Chinchwadkar Date: Mon, 23 Dec 2013 18:32:18 +0530 Subject: [PATCH] -- HR-212 modification to resolve notices --- CRM/Utils/Array.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Array.php b/CRM/Utils/Array.php index 296f470a00..c6e8cfb93a 100644 --- 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]; -- 2.25.1