diff options
author | Joas Schilling <coding@schilljs.com> | 2023-02-20 14:46:00 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-02-23 16:57:54 +0100 |
commit | 373e6325b7bbfb5f7cedd49392690cc2ee441c2f (patch) | |
tree | 9129c83a1a96427911516bb993cda39dd7a6ce33 /lib | |
parent | 6fb0da7e4fe9552e3b39f1f202514092b18993a3 (diff) | |
download | nextcloud-server-373e6325b7bbfb5f7cedd49392690cc2ee441c2f.tar.gz nextcloud-server-373e6325b7bbfb5f7cedd49392690cc2ee441c2f.zip |
Fix appconfig compatibility with Oracle DB
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-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 04e76373466..cd93c4f42c4 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; @@ -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) ) ); } |