From 6444c27e6a5e47d24416d421ac2011ccffd4e3ed Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Mon, 17 Sep 2012 22:50:08 +0200 Subject: [PATCH] LDAP: fix MySQL-query with DUAL table by removing wrong backticks. Got broke when they were added to SQL queries. --- 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 089548a69ba..53619ab4c1d 100644 --- a/apps/user_ldap/lib/access.php +++ b/apps/user_ldap/lib/access.php @@ -385,7 +385,7 @@ abstract class Access { $sqlAdjustment = ''; $dbtype = \OCP\Config::getSystemValue('dbtype'); if($dbtype == 'mysql') { - $sqlAdjustment = 'FROM `dual`'; + $sqlAdjustment = 'FROM DUAL'; } $insert = \OCP\DB::prepare('