From: Gunnar Wrobel
Date: Mon, 6 Apr 2009 14:59:00 +0000 (+0200) Subject: Fix a typo. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=d1f2b2d7c78c5d399f7a8b29026f341ba9442605;p=horde.git Fix a typo. Return the attribute information. --- diff --git a/framework/Kolab_Server/lib/Horde/Kolab/Server/Ldap.php b/framework/Kolab_Server/lib/Horde/Kolab/Server/Ldap.php index e8332c9fa..f4d8ce28d 100644 --- a/framework/Kolab_Server/lib/Horde/Kolab/Server/Ldap.php +++ b/framework/Kolab_Server/lib/Horde/Kolab/Server/Ldap.php @@ -327,7 +327,7 @@ class Horde_Kolab_Server_Ldap extends Horde_Kolab_Server { if (!empty($this->_config['schema_support'])) { $schema = $this->_getSchema(); - $info = $schema->get('objectclass', $object_class); + $info = $schema->get('objectclass', $objectclass); if ($info instanceOf PEAR_Error) { throw new Horde_Kolab_Server_Exception($info->getMessage()); } @@ -353,6 +353,7 @@ class Horde_Kolab_Server_Ldap extends Horde_Kolab_Server if ($info instanceOf PEAR_Error) { throw new Horde_Kolab_Server_Exception($info->getMessage()); } + return $info; } return parent::getAttributeSchema($attribute); }