From a8fe6f32743d9db7a0de38fa21d71e61ae0b6a52 Mon Sep 17 00:00:00 2001 From: Deon George Date: Wed, 23 Sep 2020 10:13:11 +1000 Subject: [PATCH] Revert part of 0b657471 to fix #105 - Problem with member select list to goun --- VERSION | 2 +- config/config.php.example | 1 - htdocs/modify_member_form.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index eae3863..32667b9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -RELEASE-1.2.6 +RELEASE-1.2.6.2 diff --git a/config/config.php.example b/config/config.php.example index 017524b..425a192 100644 --- a/config/config.php.example +++ b/config/config.php.example @@ -247,7 +247,6 @@ $config->custom->appearance['friendly_attrs'] = array( /* Attribute that is added to the group member attribute. */ // $config->custom->modify_member['attr'] = 'dn'; - /* For Posix attributes */ // $config->custom->modify_member['posixattr'] = 'uid'; // $config->custom->modify_member['posixfilter'] = '(uid=*)'; diff --git a/htdocs/modify_member_form.php b/htdocs/modify_member_form.php index a3e4d09..208b9ef 100644 --- a/htdocs/modify_member_form.php +++ b/htdocs/modify_member_form.php @@ -65,7 +65,7 @@ for ($i=0;$igetValue('modify_member','posixgroupattr'))) $possible_members[$i] = $possible_values[$i][$_SESSION[APPCONFIG]->getValue('modify_member','posixattr')][0]; else - $possible_members[$i] = $possible_values[$i][$_SESSION[APPCONFIG]->getValue('modify_member','attr')][0]; + $possible_members[$i] = $possible_values[$i][$_SESSION[APPCONFIG]->getValue('modify_member','attr')]; } # Show only user that are not already in group.