From: Jitendra Purohit Date: Fri, 28 Apr 2017 06:31:52 +0000 (+0530) Subject: CRM-20494 - skip use of cache while fetching contacts with external ids during import X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ac8bbde5e399bfa168a90c2dee39ce4ca7a11bbb;p=civicrm-core.git CRM-20494 - skip use of cache while fetching contacts with external ids during import --- diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 3358247de0..aa4a3fde5d 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -506,7 +506,7 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Contact_Import_Parser { ))) ) { - if ($internalCid = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $params['external_identifier'], 'id', 'external_identifier')) { + if ($internalCid = CRM_Core_DAO::getFieldValue('CRM_Contact_DAO_Contact', $params['external_identifier'], 'id', 'external_identifier', TRUE)) { if ($internalCid != CRM_Utils_Array::value('id', $params)) { $errorMessage = ts('External ID already exists in Database.'); array_unshift($values, $errorMessage);