projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84fcd99
)
CRM-21267: Fixed call to undefined formatCustomDate method in Parser. Agileware Ref...
author
Alok Patel
<alok@agileware.com.au>
Thu, 12 Oct 2017 05:43:47 +0000
(11:13 +0530)
committer
deb.monish
<monish.deb@jmaconsulting.biz>
Mon, 16 Oct 2017 11:57:15 +0000
(17:27 +0530)
CRM/Contact/Import/Parser.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Contact/Import/Parser.php
b/CRM/Contact/Import/Parser.php
index e5e93d857d45bc7fe70f22e7291c2cc0f800ce6c..481abb0ba260b7f315cd3f5db10dc7f659c33292 100644
(file)
--- 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) {