Explorar el Código

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 hace 11 años
padre
commit
6444c27e6a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      apps/user_ldap/lib/access.php

+ 1
- 1
apps/user_ldap/lib/access.php Ver fichero

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

Cargando…
Cancelar
Guardar