Skip to content

Commit 3d627f1

Browse files
committed
Use isset
1 parent 9ccd617 commit 3d627f1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5818,7 +5818,7 @@ public function deleteDocuments(
58185818

58195819
$internalIds[] = $document->getInternalId();
58205820

5821-
if (!array_key_exists('$permissions', $document)) {
5821+
if (!isset($document['$permissions'])) {
58225822
throw new QueryException('$permissions key is missing');
58235823
}
58245824

0 commit comments

Comments
 (0)