Skip to content

Commit a8106ac

Browse files
committed
Fix escape identifier
1 parent 71a2a64 commit a8106ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Database/SQLite3/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ protected function _upsertBatch(string $table, array $keys, array $values): stri
166166

167167
$alias = $this->QBOptions['alias'] ?? '`excluded`';
168168

169-
if (strtolower($alias) !== '"excluded"' && $this->db->DBDebug) {
169+
if (strtolower($alias) !== '`excluded`' && $this->db->DBDebug) {
170170
throw new DatabaseException('SQLite alias is always named "excluded". A custom alias cannot be used.');
171171
}
172172

0 commit comments

Comments
 (0)