Fix variable name.
authorJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 13:21:09 +0000 (15:21 +0200)
committerJan Schneider <jan@horde.org>
Thu, 24 Jun 2010 13:21:09 +0000 (15:21 +0200)
framework/Group/lib/Horde/Group/Ldap.php

index 919114f..36913c6 100644 (file)
@@ -77,8 +77,8 @@ class Horde_Group_Ldap extends Horde_Group
             Horde::logMessage(
                 sprintf('Set LDAP protocol version to %d failed: [%d] %s',
                         $this->_params['version'],
-                        ldap_errno($conn),
-                        ldap_error($conn),
+                        @ldap_errno($this->_ds),
+                        @ldap_error($this->_ds)),
                         __FILE__, __LINE__));
         }