Skip to content

Commit ecccff8

Browse files
committed
fix(theming): Fix query for configvalue as CLOB on OCI
Signed-off-by: Julius Härtl <[email protected]>
1 parent c246ede commit ecccff8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

apps/theming/lib/Jobs/MigrateBackgroundImages.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
use OCP\AppFramework\Utility\ITimeFactory;
3131
use OCP\BackgroundJob\IJobList;
3232
use OCP\BackgroundJob\QueuedJob;
33+
use OCP\DB\QueryBuilder\IQueryBuilder;
3334
use OCP\Files\AppData\IAppDataFactory;
3435
use OCP\Files\IAppData;
3536
use OCP\Files\NotFoundException;
@@ -92,7 +93,7 @@ protected function runPreparation(): void {
9293
->from('preferences')
9394
->where($selector->expr()->eq('appid', $selector->createNamedParameter('theming')))
9495
->andWhere($selector->expr()->eq('configkey', $selector->createNamedParameter('background')))
95-
->andWhere($selector->expr()->eq('configvalue', $selector->createNamedParameter('custom')))
96+
->andWhere($selector->expr()->eq('configvalue', $selector->createNamedParameter('custom', IQueryBuilder::PARAM_STR), IQueryBuilder::PARAM_STR))
9697
->executeQuery();
9798

9899
$userIds = $result->fetchAll(\PDO::FETCH_COLUMN);

0 commit comments

Comments
 (0)