diff --git a/lam/lib/ldap.php b/lam/lib/ldap.php index 123f8b62..fab971aa 100644 --- a/lam/lib/ldap.php +++ b/lam/lib/ldap.php @@ -164,7 +164,7 @@ class Ldap{ // closes connection to LDAP server before serialization function __sleep() { $this->close(); - return array("conf", "server", "username", "password"); + return array("conf", "username", "password"); } // reconnects to LDAP server when deserialized