Skip to content

Commit

Permalink
fix: wrongly inverted condition for adding shared tables
Browse files Browse the repository at this point in the history
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
  • Loading branch information
blizzz committed Apr 19, 2024
1 parent 26cd867 commit 1e984a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/TableService.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 1e984a7

Please sign in to comment.