From e6d907c2a6bbc20b8bfe6f9041198d3cbafbd2f7 Mon Sep 17 00:00:00 2001 From: Alok Patel Date: Thu, 12 Oct 2017 11:13:47 +0530 Subject: [PATCH] CRM-21267: Fixed call to undefined formatCustomDate method in Parser. Agileware Ref: CIVICRM-542 --- CRM/Contact/Import/Parser.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CRM/Contact/Import/Parser.php b/CRM/Contact/Import/Parser.php index e5e93d857d..481abb0ba2 100644 --- a/CRM/Contact/Import/Parser.php +++ b/CRM/Contact/Import/Parser.php @@ -844,7 +844,8 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { ) { //we should not update Date to null, CRM-4062 if ($val && ($customFields[$customFieldID]['data_type'] == 'Date')) { - self::formatCustomDate($params, $formatted, $dateType, $key); + //CRM-21267 + CRM_Contact_Import_Parser_Contact::formatCustomDate($params, $formatted, $dateType, $key); } elseif ($customFields[$customFieldID]['data_type'] == 'Boolean') { if (empty($val) && !is_numeric($val) && $this->_onDuplicate == CRM_Import_Parser::DUPLICATE_FILL) { -- 2.25.1