Code

- Fix TLS ldap connections when schema checking is being used
[gosa.git] / include / functions.inc
index c4edb994ee2a294126b538d8a8cbd56a4b18b3d7..a07ae3a7e3977433e86f2abe0bb9e6bddfaa4498 100644 (file)
@@ -290,7 +290,8 @@ function ldap_init ($server, $base, $binddn='', $pass='')
 {
   global $config;
 
-  $ldap = new LDAP ($binddn, $pass, $server, isset($config->current['RECURSIVE'])                                                && $config->current['RECURSIVE'] == "true",
+  $ldap = new LDAP ($binddn, $pass, $server,
+      isset($config->current['RECURSIVE']) && $config->current['RECURSIVE'] == "true",
       isset($config->current['TLS']) && $config->current['TLS'] == "true");
 
   /* Sadly we've no proper return values here. Use the error message instead. */