From 6b5c2bb53a2c5926bf913e59733d69b81ad27aab Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Mon, 25 Nov 2019 11:02:47 +0100
Subject: [PATCH] bugfix Lead import - CheckDup not defined

---
 process/Leadimport_lib/process.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/process/Leadimport_lib/process.js b/process/Leadimport_lib/process.js
index 1c28479c23..8cd377ea5c 100644
--- a/process/Leadimport_lib/process.js
+++ b/process/Leadimport_lib/process.js
@@ -467,7 +467,7 @@ LeadImportUtils.insertOrg = function(pDataFields, pDataTypes,  pFieldDef, pField
     //Organisation
     var OrgValues = LeadImportUtils.setValues(pDataFields["ORGANISATION"], pFieldDef, pFieldValues);
     var entityFieldValues = [];
-    var ids = CheckDup(OrgValues, "ORGANISATION");//checks if there is already an organisation like this
+    var ids = LeadImportUtils.CheckDup(OrgValues, "ORGANISATION");//checks if there is already an organisation like this
     
     if (ids.length == 0)//there is no organisation like this
     {
-- 
GitLab