diff options
author | Julius Härtl <jus@bitgrid.net> | 2023-01-31 10:19:35 +0100 |
---|---|---|
committer | blizzz (Rebase PR Action) <blizzz@users.noreply.github.com> | 2023-02-07 13:15:43 +0000 |
commit | 4ee9deea00bbaf413ca4cd36d604a3a9bb3f1fa2 (patch) | |
tree | 0f751644ac832bb49afa3f4cc6c2013af1936cc3 | |
parent | 371bd563c1e3325504907d031cb0581e49bc2d9f (diff) | |
download | nextcloud-server-4ee9deea00bbaf413ca4cd36d604a3a9bb3f1fa2.tar.gz nextcloud-server-4ee9deea00bbaf413ca4cd36d604a3a9bb3f1fa2.zip |
fix(theming): Fix query for configvalue as CLOB on OCI
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r-- | apps/theming/lib/Jobs/MigrateBackgroundImages.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/theming/lib/Jobs/MigrateBackgroundImages.php b/apps/theming/lib/Jobs/MigrateBackgroundImages.php index 39731ef556f..7ee2b7977d6 100644 --- a/apps/theming/lib/Jobs/MigrateBackgroundImages.php +++ b/apps/theming/lib/Jobs/MigrateBackgroundImages.php @@ -30,6 +30,7 @@ use OCA\Theming\AppInfo\Application; use OCP\AppFramework\Utility\ITimeFactory; use OCP\BackgroundJob\IJobList; use OCP\BackgroundJob\QueuedJob; +use OCP\DB\QueryBuilder\IQueryBuilder; use OCP\Files\AppData\IAppDataFactory; use OCP\Files\IAppData; use OCP\Files\NotFoundException; @@ -92,7 +93,7 @@ class MigrateBackgroundImages extends QueuedJob { ->from('preferences') ->where($selector->expr()->eq('appid', $selector->createNamedParameter('theming'))) ->andWhere($selector->expr()->eq('configkey', $selector->createNamedParameter('background'))) - ->andWhere($selector->expr()->eq('configvalue', $selector->createNamedParameter('custom'))) + ->andWhere($selector->expr()->eq('configvalue', $selector->createNamedParameter('custom', IQueryBuilder::PARAM_STR), IQueryBuilder::PARAM_STR)) ->executeQuery(); $userIds = $result->fetchAll(\PDO::FETCH_COLUMN); |