From ec80b80d1aadaf14ea98de87591c9673536c8620 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Wed, 21 Aug 2019 13:56:25 +0200
Subject: [PATCH] fix offer contactid

---
 entity/Offer_entity/entityfields/contact_id/valueProcess.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/entity/Offer_entity/entityfields/contact_id/valueProcess.js b/entity/Offer_entity/entityfields/contact_id/valueProcess.js
index ca10ffff0e5..de0433be911 100644
--- a/entity/Offer_entity/entityfields/contact_id/valueProcess.js
+++ b/entity/Offer_entity/entityfields/contact_id/valueProcess.js
@@ -21,7 +21,7 @@ if ((!vars.exists("$param.ContactId_param") || !vars.get("$param.ContactId_param
 if (contactId) 
 {
     var lang = db.cell(SqlCondition.begin()
-        .andPrepare("CONTACT.CONTACTID", contactid)
+        .andPrepare("CONTACT.CONTACTID", contactId)
         .buildSql("select ISOLANGUAGE from CONTACT"));
 
     if(lang != "") 
-- 
GitLab