Skip to content

Commit

Permalink
Loose match tenant with adapter tenant since one is a numeric string
Browse files Browse the repository at this point in the history
  • Loading branch information
abnegate committed May 9, 2024
1 parent 69b9cb5 commit e36fc25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Database/Database.php
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ public function listCollections(int $limit = 25, int $offset = 0): array

if ($this->adapter->getSharedTables()) {
$result = \array_filter($result, function ($collection) {
return $collection->getAttribute('$tenant') === $this->adapter->getTenant();
return $collection->getAttribute('$tenant') == $this->adapter->getTenant();
});
}

Expand Down

0 comments on commit e36fc25

Please sign in to comment.