From df28f09e4179dc508269d5158e077638bcd6813f Mon Sep 17 00:00:00 2001
From: "S.Listl" <s.listl@adito.de>
Date: Tue, 25 Aug 2020 11:13:11 +0200
Subject: [PATCH] #1063558: accidental global variable fixed

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

diff --git a/process/Sql_lib/process.js b/process/Sql_lib/process.js
index 93cf3bee05..7b28c6db4f 100644
--- a/process/Sql_lib/process.js
+++ b/process/Sql_lib/process.js
@@ -4068,7 +4068,7 @@ SqlUtils.replaceConditionTemplate = function(pCondition, pPlaceholder, pReplacem
     ---------------------
     */
     //use replaceAll because it's faster and supports negative lookbehinds
-    replacements = {};
+    var replacements = {};
     //manually readd the replaced backslashes by using a group reference, because they a part of the match and therefore replaced by "replaceAll"
     //since the field COULD contain already a group reference (I think this is extremely uncommon; 
     //probably that never happens but better stay save): escape that references within the fieldname
-- 
GitLab