From 38b04c1f1b56e1b45bf72cce10d41bc03f5499ff 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