From 71b7f0dff76458f726e927daeb9098c99f342712 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Fri, 11 Oct 2019 13:49:39 +0200
Subject: [PATCH] Fix SqlLib: accidential use of global variable instead of
 local var-variable

---
 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 09f9237655..1747da97ed 100644
--- a/process/Sql_lib/process.js
+++ b/process/Sql_lib/process.js
@@ -1506,7 +1506,7 @@ SqlBuilder.prototype._prepare = function(field, value, cond, fieldType, pSubsele
     } 
     else
     {
-        type = fieldType;
+        var type = fieldType;
         values = [[value.toString(), type]];
     }
 
-- 
GitLab