From aa61642fb466c5581deb373b6051de5f1a6b17e3 Mon Sep 17 00:00:00 2001
From: "f.maier" <f.maier@adito.de>
Date: Thu, 21 Oct 2021 13:44:45 +0200
Subject: [PATCH] =?UTF-8?q?[Projekt:=20xRM-ContactManagement][TicketNr.:?=
 =?UTF-8?q?=201086475][Leadimport=5Flib=20-=20LeadImportUtils.getImportFie?=
 =?UTF-8?q?ldDef()=20-=20trim()=20wird=20f=C3=BCr=20SQL=20Server=20nicht?=
 =?UTF-8?q?=20korrekt=20ersetzt]?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 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 fe39f235ed..f92149a937 100644
--- a/process/Leadimport_lib/process.js
+++ b/process/Leadimport_lib/process.js
@@ -370,7 +370,7 @@ LeadImportUtils.getMappedOutputvalue = function (pField, pInputValue) {
  */
 LeadImportUtils.getImportFieldDef = function(pID)
 {
-    var ImportFieldDef = newSelect(["distinct FIELDNUMBER", SqlMaskingUtils.prototype.trim("MAPPINGFIELD"), "''"])
+    var ImportFieldDef = newSelect(["distinct FIELDNUMBER", new SqlMaskingUtils().trim("MAPPINGFIELD"), "''"])
                             .from("IMPORTFIELD")
                             .where("IMPORTFIELD.LEADIMPORT_ID", pID)
                             .and("MAPPINGFIELD is not null")
-- 
GitLab