From 06d53ab8700c1077c1b25b7cf7f9c09a84399d16 Mon Sep 17 00:00:00 2001
From: "b.ulrich" <b.ulrich@adito.de>
Date: Tue, 12 May 2020 13:55:34 +0200
Subject: [PATCH] [Projekt: Entwicklung - Neon][TicketNr.: 1054657][Person
 Index affectedIds retrurn [null]]

---
 entity/Person_entity/recordcontainers/index/affectedIds.js | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/entity/Person_entity/recordcontainers/index/affectedIds.js b/entity/Person_entity/recordcontainers/index/affectedIds.js
index 24ea484ba1e..dbd08b2c4ba 100644
--- a/entity/Person_entity/recordcontainers/index/affectedIds.js
+++ b/entity/Person_entity/recordcontainers/index/affectedIds.js
@@ -49,7 +49,9 @@ switch (tableName)
         break;
 }
 
-if (res) {
+if (res && res[0])
     result.object(res);
-}
+
+else
+    result.object([]);
     
\ No newline at end of file
-- 
GitLab