mirror of
https://github.com/nextcloud/server.git
synced 2026-03-21 18:11:02 -04:00
Fix appconfig compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
6fb0da7e4f
commit
373e6325b7
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
||||
|
|
@ -298,7 +299,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…
Reference in a new issue