Skip to content

Commit 5d75600

Browse files
committed
Fix quote
1 parent 0a13fec commit 5d75600

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Adapter/SQL.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ public function createOrUpdateDocuments(
437437
$removeQueries[] = "(
438438
_document = :_uid_{$index}
439439
{$this->getTenantQuery($collection, tenantCount: \count($toRemove))}
440-
AND _type = {$this->quote($type)}
440+
AND _type = '{$type}'
441441
AND _permission IN (" . \implode(',', \array_map(fn ($i) => ":remove_{$type}_{$index}_{$i}", \array_keys($toRemove))) . ")
442442
)";
443443
$removeBindValues[":_uid_{$index}"] = $document->getId();

0 commit comments

Comments
 (0)