From 5f1aa3a5508382a844a36e5dbe76e3ec616da5c2 Mon Sep 17 00:00:00 2001 From: Pratik Joshi Date: Fri, 28 Feb 2014 16:44:17 +0530 Subject: [PATCH] CRM-13992 : minor warning fix --- CRM/Profile/Page/MultipleRecordFieldsListing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Profile/Page/MultipleRecordFieldsListing.php b/CRM/Profile/Page/MultipleRecordFieldsListing.php index a8fe335ff7..9af8ed9571 100644 --- a/CRM/Profile/Page/MultipleRecordFieldsListing.php +++ b/CRM/Profile/Page/MultipleRecordFieldsListing.php @@ -289,7 +289,7 @@ class CRM_Profile_Page_MultipleRecordFieldsListing extends CRM_Core_Page_Basic { foreach ($value as $fieldId => &$val) { if (is_numeric($fieldId)) { $customValue = &$val; - if (array_key_exists($fieldId, $dateFields)) { + if (!empty($dateFields) && array_key_exists($fieldId, $dateFields)) { // formated date capture value capture $dateFieldsVals[$fieldId][$recId] = CRM_Core_BAO_CustomField::getDisplayValue($customValue, $fieldId, $options); } -- 2.25.1