From 429f07d14294fc4e812fdb1b33ccac018b437a57 Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 24 Jul 2013 14:55:25 +0200 Subject: [PATCH] LDAP / Oracle compatibility, make SQL syntax valid --- apps/user_ldap/lib/access.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_ldap/lib/access.php b/apps/user_ldap/lib/access.php index f33ac36b008..8914246b521 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -562,7 +562,7 @@ abstract class Access { $sqlAdjustment = ''; $dbtype = \OCP\Config::getSystemValue('dbtype'); - if($dbtype == 'mysql') { + if($dbtype == 'mysql' || $dbtype == 'oci') { $sqlAdjustment = 'FROM DUAL'; } -- 2.39.5