From bba2c08270654b3841ae6ad303475fb88bd42d68 Mon Sep 17 00:00:00 2001 From: Johannes Hoermann <j.hoermann@adito.de> Date: Thu, 7 Nov 2019 12:15:54 +0100 Subject: [PATCH] fix boolean false in attributerelation --- process/Keyword_lib/process.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/Keyword_lib/process.js b/process/Keyword_lib/process.js index 8f1892d8fc..7aaf4eb03f 100644 --- a/process/Keyword_lib/process.js +++ b/process/Keyword_lib/process.js @@ -94,7 +94,7 @@ KeywordUtils.getAttributeRelation = function(pKeyId, pContainerName, pAttrName, { return attributes[pAttrName]; } - return pDefault ? pDefault : null; + return pDefault !== undefined ? pDefault : null; }; /** -- GitLab