Typo
authorGunnar Wrobel <wrobel@temple.(none)>
Wed, 17 Feb 2010 21:07:06 +0000 (22:07 +0100)
committerGunnar Wrobel <wrobel@temple.(none)>
Wed, 17 Feb 2010 21:07:06 +0000 (22:07 +0100)
framework/Ldap/lib/Horde/Ldap/RootDSE.php

index 950b395..31b5e69 100644 (file)
@@ -71,7 +71,7 @@ class Horde_Ldap_RootDSE
                                 'supportedLDAPVersion',
                                 'subschemaSubentry' );
         }
-        $ldap->search('', '(objectClass=*)', array('attributes' => $attributes, 'scope' => 'base'));
+        $result = $ldap->search('', '(objectClass=*)', array('attributes' => $attributes, 'scope' => 'base'));
         $entry = $result->shiftEntry();
         if (false === $entry) {
             throw new Horde_Ldap_Exception('Could not fetch RootDSE entry');