summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2012-09-17 22:50:08 +0200
committerArthur Schiwon <blizzz@owncloud.com>2012-09-17 22:50:08 +0200
commit6444c27e6a5e47d24416d421ac2011ccffd4e3ed (patch)
treed4c61a50f814dc87230e45ff364e0929c6478589
parent2a8ff8a0d49f136f7b31fbaf1147396574f5683c (diff)
downloadnextcloud-server-6444c27e6a5e47d24416d421ac2011ccffd4e3ed.tar.gz
nextcloud-server-6444c27e6a5e47d24416d421ac2011ccffd4e3ed.zip
LDAP: fix MySQL-query with DUAL table by removing wrong backticks. Got broke when they were added to SQL queries.
-rw-r--r--apps/user_ldap/lib/access.php2
1 files changed, 1 insertions, 1 deletions
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('