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

remotes/origin/stable45
Arthur Schiwon 14 years ago
parent 2a8ff8a0d4
commit 6444c27e6a
  1. 2
      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('

Loading…
Cancel
Save