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:
parent
2a8ff8a0d4
commit
6444c27e6a
1 changed files with 1 additions and 1 deletions
|
@ -385,7 +385,7 @@ abstract class Access {
|
||||||
$sqlAdjustment = '';
|
$sqlAdjustment = '';
|
||||||
$dbtype = \OCP\Config::getSystemValue('dbtype');
|
$dbtype = \OCP\Config::getSystemValue('dbtype');
|
||||||
if($dbtype == 'mysql') {
|
if($dbtype == 'mysql') {
|
||||||
$sqlAdjustment = 'FROM `dual`';
|
$sqlAdjustment = 'FROM DUAL';
|
||||||
}
|
}
|
||||||
|
|
||||||
$insert = \OCP\DB::prepare('
|
$insert = \OCP\DB::prepare('
|
||||||
|
|
Loading…
Reference in a new issue