1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2025-05-01 07:05:59 +02:00

LSsession :: haveSubDn() : Fixed Notice PHP

This commit is contained in:
Benjamin Renard 2010-11-08 17:02:35 +01:00
parent 9a1ec2fcdd
commit 62696c9f16

View file

@ -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']));
}
/**