Browse Source

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

tags/v4.5.0beta4
Arthur Schiwon 11 years ago
parent
commit
6444c27e6a
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      apps/user_ldap/lib/access.php

+ 1
- 1
apps/user_ldap/lib/access.php 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('

Loading…
Cancel
Save