From 78c67f37c1aa3441ac05c2df5159bc6ecc3ab659 Mon Sep 17 00:00:00 2001
From: Johannes Hoermann <j.hoermann@adito.de>
Date: Tue, 16 Apr 2019 10:54:43 +0200
Subject: [PATCH] activity: rename CREATOR to RESPONSIBLE

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

diff --git a/process/Employee_lib/process.js b/process/Employee_lib/process.js
index 17ca0efa8f..1394a10418 100644
--- a/process/Employee_lib/process.js
+++ b/process/Employee_lib/process.js
@@ -100,7 +100,7 @@ EmployeeUtils.hasRelations = function (pContactId)
     //sql queries with selects on tables where an employee can be used
     var queries = [
         SqlCondition.begin()
-            .andPrepare("ACTIVITY.CREATOR", pContactId)
+            .andPrepare("ACTIVITY.RESPONSIBLE", pContactId)
             .buildSql("select 1 from ACTIVITY"),
         SqlCondition.begin()
             .andPrepare("TASK.REQUESTOR_CONTACT_ID", pContactId)
-- 
GitLab