From e981b7b63f03ab387e67ad43d03367dbc701cc89 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Tue, 15 Jan 2019 14:02:57 +0100 Subject: [PATCH] bugfix adresstyp --- process/Relation_lib/process.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/process/Relation_lib/process.js b/process/Relation_lib/process.js index 5b436de148..3d28557335 100644 --- a/process/Relation_lib/process.js +++ b/process/Relation_lib/process.js @@ -1,4 +1,3 @@ -import("system.logging"); import("system.vars"); import("system.result"); import("system.db"); @@ -25,8 +24,7 @@ function RelationUtils() {} */ RelationUtils.getRelationTypeByRelation = function(pRelationId) { - var relationData = RelationUtils.getContextByRelationId(pRelationId); - + var relationData = RelationUtils.getPersOrgIds(pRelationId); if (relationData[0]) { return this.getRelationTypeByPersOrg(relationData[1], relationData[2]); -- GitLab