Fix appconfig compatibility with Oracle DB

Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/36889/head
Joas Schilling 1 year ago
parent 188b6c6611
commit 3f5ac26413
No known key found for this signature in database
GPG Key ID: 74434EFE0D2E2205

@ -34,6 +34,7 @@ namespace OC;
use OC\DB\Connection;
use OC\DB\OracleConnection;
use OCP\DB\QueryBuilder\IQueryBuilder;
use OCP\IAppConfig;
use OCP\IConfig;
@ -247,7 +248,7 @@ class AppConfig implements IAppConfig {
$sql->andWhere(
$sql->expr()->orX(
$sql->expr()->isNull('configvalue'),
$sql->expr()->neq('configvalue', $sql->createNamedParameter($value))
$sql->expr()->neq('configvalue', $sql->createNamedParameter($value), IQueryBuilder::PARAM_STR)
)
);
}

Loading…
Cancel
Save