Skip to content

Commit 319fc45

Browse files
Update src/Database/Adapter/SQLite.php
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent edf26f7 commit 319fc45

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Database/Adapter/SQLite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2169,7 +2169,7 @@ protected function getOperatorSQL(string $column, Operator $operator, array &$bi
21692169
case Operator::TYPE_ARRAY_REMOVE:
21702170
$values = $operator->getValues();
21712171
$removeValue = $values[0] ?? null;
2172-
$removeValue = is_array($removeValue) ? json_encode($removeValue) : (string)($removeValue);
2172+
$removeValue = is_array($removeValue) ? json_encode($removeValue) : $removeValue;
21732173
$bindKey = $this->registerOperatorBind($binds, $removeValue);
21742174
// SQLite: remove specific value from array
21752175
return "{$quotedColumn} = (

0 commit comments

Comments
 (0)