mirror of
https://github.com/nextcloud/server.git
synced 2026-06-08 16:26:59 -04:00
Fix appconfig compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
3e46245eca
commit
1f4a0529e2
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;
|
||||
|
||||
|
|
@ -300,7 +301,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