Merge pull request #17020 from eileenmcnaughton/dedupe1
[civicrm-core.git] / CRM / Dedupe / Finder.php
index 06863a2afabd7b7e5420fe78825e70db07d7304e..97e8abcf51bc6aabd98ad945e0cb2b57a8a55ab3 100644 (file)
@@ -230,7 +230,7 @@ class CRM_Dedupe_Finder {
         continue;
       }
       foreach ($cg['fields'] as $cf) {
-        $flat[$cf['column_name']] = CRM_Utils_Array::value('data', $cf['customValue']);
+        $flat[$cf['column_name']] = $cf['customValue']['data'] ?? NULL;
       }
     }