diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/etc/inc/auth.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/auth.inc b/src/etc/inc/auth.inc index c940705..49572eb 100644 --- a/src/etc/inc/auth.inc +++ b/src/etc/inc/auth.inc @@ -1132,7 +1132,7 @@ function ldap_get_groups($username, $authcfg) { if ($error == true) { log_error(sprintf(gettext("ERROR! ldap_get_groups() Could not connect to server %s."), $ldapname)); - return memberof; + return $memberof; } ldap_set_option($ldap, LDAP_OPT_REFERRALS, 0); @@ -1161,7 +1161,7 @@ function ldap_get_groups($username, $authcfg) { } else if (!($res = @ldap_bind($ldap, $ldapbindun, $ldapbindpw))) { log_error(sprintf(gettext("ERROR! ldap_get_groups() could not bind to server %s."), $ldapname)); @ldap_close($ldap); - return memberof; + return $memberof; } /* get groups from DN found */ |