mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-23 00:43:48 +01:00
LSsession :: haveSubDn() : Fixed Notice PHP
This commit is contained in:
parent
9a1ec2fcdd
commit
62696c9f16
1 changed files with 1 additions and 1 deletions
|
@ -2091,7 +2091,7 @@ class LSsession {
|
|||
* @retval boolean true si le serveur LDAP courant a des subDn, false sinon
|
||||
*/
|
||||
public static function haveSubDn() {
|
||||
return (is_array(self :: $ldapServer['subDn']));
|
||||
return (isset(self :: $ldapServer['subDn']) && is_array(self :: $ldapServer['subDn']));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue