From 1e984a7f7b7012120f66c74b28e4f90ce7932d28 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Fri, 19 Apr 2024 18:07:25 +0200 Subject: [PATCH] fix: wrongly inverted condition for adding shared tables Signed-off-by: Arthur Schiwon --- lib/Service/TableService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Service/TableService.php b/lib/Service/TableService.php index 55ad1c64b..2c3bb2884 100644 --- a/lib/Service/TableService.php +++ b/lib/Service/TableService.php @@ -122,7 +122,7 @@ public function findAll(?string $userId = null, bool $skipTableEnhancement = fal // clean duplicates foreach ($sharedTables as $sharedTable) { - if (isset($allTables[$sharedTable->getId()])) { + if (!isset($allTables[$sharedTable->getId()])) { $allTables[$sharedTable->getId()] = $sharedTable; } }