diff options
author | Andy Xheli <axheli@axtsolutions.com> | 2022-11-29 11:24:56 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-29 11:24:56 -0600 |
commit | e69c7c4d26731acd91cc683fbe118da1e423c460 (patch) | |
tree | 48632ae32ccff84257fb88f541365e736259ff00 | |
parent | f0a1e1c2240cc8977c4d949779038529db37c27d (diff) | |
download | nextcloud-server-e69c7c4d26731acd91cc683fbe118da1e423c460.tar.gz nextcloud-server-e69c7c4d26731acd91cc683fbe118da1e423c460.zip |
Fix Executing a query: SQLSTATE[42000]
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
Fix https://github.com/nextcloud/server/issues/32007#issuecomment-1329405245
Signed-off-by: Andy Xheli <axheli@axtsolutions.com>
-rw-r--r-- | lib/private/Files/Cache/Storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Storage.php b/lib/private/Files/Cache/Storage.php index f77c9b71dd7..01fc638cef8 100644 --- a/lib/private/Files/Cache/Storage.php +++ b/lib/private/Files/Cache/Storage.php @@ -239,7 +239,7 @@ class Storage { $query = $db->getQueryBuilder(); $query->delete('storages') - ->where($query->expr()->eq('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY))); + ->where($query->expr()->in('numeric_id', $query->createNamedParameter($storageIds, IQueryBuilder::PARAM_INT_ARRAY))); $query->executeStatement(); $query = $db->getQueryBuilder(); |