Skip to content

Commit e69c7c4

Browse files
author
Andy Xheli
authored
Fix Executing a query: SQLSTATE[42000]
Signed-off-by: Andy Xheli <axheli@axtsolutions.com> Fix #32007 (comment) Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
1 parent f0a1e1c commit e69c7c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/private/Files/Cache/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ public static function cleanByMountId(int $mountId) {
239239

240240
$query = $db->getQueryBuilder();
241241
$query->delete('storages')
242-
->where($query->expr()->eq('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
242+
->where($query->expr()->in('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY)));
243243
$query->executeStatement();
244244

245245
$query = $db->getQueryBuilder();

0 commit comments

Comments
 (0)