summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Machniak <machniak@kolabsys.com>2012-03-16 13:36:55 (GMT)
committerAleksander Machniak <machniak@kolabsys.com>2012-03-16 13:36:55 (GMT)
commit2effaae4b63e4dec5b3a8d5ac37a7651aa1ef81b (patch)
tree8759ae21a78a140c28f5a7b7b1b6f5e91156f21f
parent5c8910981fd49e389e668e29b30f92abd6c64b12 (diff)
downloadkolab-wap-2effaae4b63e4dec5b3a8d5ac37a7651aa1ef81b.tar.gz
Fixed typos in group_info() and group_members_list()
-rw-r--r--lib/Auth/LDAP.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/Auth/LDAP.php b/lib/Auth/LDAP.php
index fffa1f1..6e4fab7 100644
--- a/lib/Auth/LDAP.php
+++ b/lib/Auth/LDAP.php
@@ -345,8 +345,7 @@ class LDAP
$group_dn = $this->_get_group_dn($root_dn, '(mail=' . $group . ')');
}
else {
- # TODO: Where does user come from?
- $group_dn = $user;
+ $group_dn = $group;
}
if (!$group_dn) {
@@ -364,7 +363,7 @@ class LDAP
$group_dn = $this->_get_group_dn($root_dn, '(mail=' . $group . ')');
}
else {
- $group_dn = $user;
+ $group_dn = $group;
}
if (!$group_dn) {