]> source.dussan.org Git - nextcloud-server.git/commitdiff
LDAP: fix MySQL-query with DUAL table by removing wrong backticks. Got broke when...
authorArthur Schiwon <blizzz@owncloud.com>
Mon, 17 Sep 2012 20:50:08 +0000 (22:50 +0200)
committerArthur Schiwon <blizzz@owncloud.com>
Mon, 17 Sep 2012 20:50:08 +0000 (22:50 +0200)
apps/user_ldap/lib/access.php

index 089548a69ba75fe9ae95926cb1c3be4c837b587f..53619ab4c1dc3d0db3f3d264bae16c1742145fbd 100644 (file)
@@ -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('