program/include/rcube_ldap.php
@@ -52,7 +52,7 @@ function __construct($p) { $this->prop = $p; foreach ($p as $prop => $value) if (preg_match('/^(.+)_field$/', $prop, $matches)) $this->fieldmap[$matches[1]] = $value; @@ -105,7 +105,7 @@ if ($this->prop["user_specific"]) { // No password set, use the session password if (empty($this->prop['bind_pass'])) { $this->prop['bind_pass'] = $RCMAIL->decrypt_passwd($_SESSION["password"]); $this->prop['bind_pass'] = $RCMAIL->decrypt($_SESSION['password']); } // Get the pieces needed for variable replacement.