mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-22 18:09:06 +01:00
LSsession :: loadLSaccess() : Fixed notice PHP
This commit is contained in:
parent
c577b7a706
commit
d432819ed5
1 changed files with 1 additions and 1 deletions
|
@ -1601,7 +1601,7 @@ class LSsession {
|
||||||
*/
|
*/
|
||||||
private static function loadLSaccess() {
|
private static function loadLSaccess() {
|
||||||
$LSaccess=array();
|
$LSaccess=array();
|
||||||
if (is_array(self :: $ldapServer['subDn'])) {
|
if (isset(self :: $ldapServer['subDn']) && is_array(self :: $ldapServer['subDn'])) {
|
||||||
foreach(self :: $ldapServer['subDn'] as $name => $config) {
|
foreach(self :: $ldapServer['subDn'] as $name => $config) {
|
||||||
if ($name=='LSobject') {
|
if ($name=='LSobject') {
|
||||||
if (is_array($config)) {
|
if (is_array($config)) {
|
||||||
|
|
Loading…
Reference in a new issue