diff options
author | Joas Schilling <coding@schilljs.com> | 2023-02-20 14:46:00 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-02-28 09:16:52 +0100 |
commit | 0dd3b40260d91e7492740677f5efa03965c60e79 (patch) | |
tree | 106146cfaaa0d762948d30870116fcb77671afcf /lib/private | |
parent | 84e5d349ed34d4060d038fa931dbb08e7aa2598b (diff) | |
download | nextcloud-server-0dd3b40260d91e7492740677f5efa03965c60e79.tar.gz nextcloud-server-0dd3b40260d91e7492740677f5efa03965c60e79.zip |
Fix appconfig compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib/private')
-rw-r--r-- | lib/private/AppConfig.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/AppConfig.php b/lib/private/AppConfig.php index dbfa391ca5b..e6007fc3e65 100644 --- a/lib/private/AppConfig.php +++ b/lib/private/AppConfig.php @@ -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; @@ -297,7 +298,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) ) ); } |