From 7a8aba0f1746c7d35cb12d633a268ec3260ae05a Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Wed, 17 Feb 2010 22:07:06 +0100 Subject: [PATCH] Typo --- framework/Ldap/lib/Horde/Ldap/RootDSE.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Ldap/lib/Horde/Ldap/RootDSE.php b/framework/Ldap/lib/Horde/Ldap/RootDSE.php index 950b39599..31b5e690c 100644 --- a/framework/Ldap/lib/Horde/Ldap/RootDSE.php +++ b/framework/Ldap/lib/Horde/Ldap/RootDSE.php @@ -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'); -- 2.11.0