lib/Auth.php

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Mon Apr 2 16:56:18 CEST 2012


 lib/Auth.php |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit 76fe8209241b7089640c02024c1b1fd1b71522b6
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Mon Apr 2 16:56:05 2012 +0200

    Fix typo

diff --git a/lib/Auth.php b/lib/Auth.php
index 70d67e6..f19199a 100644
--- a/lib/Auth.php
+++ b/lib/Auth.php
@@ -170,14 +170,14 @@ class Auth {
     public function attr_details($attribute)
     {
         $conf = Conf::get_instance();
-        return $this->_auth[$conf->get('kolab', 'primary_domain']->attribute_details((array)($attribute));
+        return $this->_auth[$conf->get('kolab', 'primary_domain')]->attribute_details((array)($attribute));
     }
 
     // TODO: Dummy function to be removed
     public function attrs_allowed($objectclasses = array())
     {
         $conf = Conf::get_instance();
-        return $this->_auth[$conf->get('kolab', 'primary_domain']->allowed_attributes($objectclasses);
+        return $this->_auth[$conf->get('kolab', 'primary_domain')]->allowed_attributes($objectclasses);
     }
 
     public function allowed_attributes($objectclasses = array())





More information about the commits mailing list