LDAP: fix MySQL-query with DUAL table by removing wrong backticks. Got broke when they were added to SQL queries.

This commit is contained in:
Arthur Schiwon 2012-09-17 22:50:08 +02:00
parent 2a8ff8a0d4
commit 6444c27e6a
1 changed files with 1 additions and 1 deletions

View 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('