diff options
author | Joas Schilling <coding@schilljs.com> | 2022-01-04 13:36:55 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2022-01-04 13:36:55 +0100 |
commit | ecc92067bf6eff340bc2f6833112c0e1084e74d4 (patch) | |
tree | a418bc1ac473519f55970cf666e8f4b71e87309d /lib | |
parent | 46ad6fa3c7ff8a2c6ab0d7ff583cab19ba04b146 (diff) | |
download | nextcloud-server-ecc92067bf6eff340bc2f6833112c0e1084e74d4.tar.gz nextcloud-server-ecc92067bf6eff340bc2f6833112c0e1084e74d4.zip |
Try escaping Oracle single quotes
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php b/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php index a3e62e6d330..b2d5deffc87 100644 --- a/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php +++ b/lib/private/DB/QueryBuilder/FunctionBuilder/OCIFunctionBuilder.php @@ -81,7 +81,7 @@ class OCIFunctionBuilder extends FunctionBuilder { } if ($separator === '\'') { - $separator = '\\\''; + $separator = '\'\''; } return new QueryFunction('LISTAGG(' . $this->helper->quoteColumnName($expr) . ", '$separator')$orderByClause"); |