mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-18 14:33:49 +01:00
LSsession::loadLSprofiles(): reset current LSprofiles on each call
Be sure to reset current LSprofiles before (re)loading it.
This commit is contained in:
parent
f4f39d967e
commit
1b38957235
1 changed files with 1 additions and 0 deletions
|
@ -2123,6 +2123,7 @@ class LSsession {
|
|||
return false;
|
||||
}
|
||||
self :: log_trace("loadLSprofiles(): Current LDAP server LSprofile configuration: ".varDump(self :: $ldapServer['LSprofiles']));
|
||||
self :: $LSprofiles = array();
|
||||
foreach (self :: $ldapServer['LSprofiles'] as $profile => $profileInfos) {
|
||||
if (!is_array($profileInfos)) {
|
||||
self :: log_warning("loadLSprofiles(): Invalid configuration for LSprofile '$profile' (must be an array).");
|
||||
|
|
Loading…
Reference in a new issue