Code

- Fix TLS ldap connections when schema checking is being used
[gosa.git] / plugins / personal / password / main.inc
index 22624f6d7b729eac6b202c2893dccbcd778dd0a5..dd83a1937e2c7239beb6fe1ad79dc3eb19cb566a 100644 (file)
@@ -32,8 +32,7 @@ if (!$remove_lock){
         $tldap = new LDAP($ui->dn, $_POST['current_password'],
             $config->current['SERVER'],
             isset($config->current['RECURSIVE']) && $config->current['RECURSIVE'] == "true",
-            isset($config->current['TLS'])
-            && $config->current['TLS'] == "true");
+            isset($config->current['TLS']) && $config->current['TLS'] == "true");
         if ($tldap->error != "Success"){
           $message[]= _("The password you've entered as your current password doesn't match the real one.");
         }