mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-11-18 00:09:06 +01:00
LSsession :: isSubDnLSobject() : Fixed notice PHP
This commit is contained in:
parent
4ce6560504
commit
5f8db76d52
1 changed files with 1 additions and 1 deletions
|
@ -2067,7 +2067,7 @@ class LSsession {
|
|||
*/
|
||||
public static function isSubDnLSobject($type) {
|
||||
$result = false;
|
||||
if (is_array(self :: $ldapServer['subDn']['LSobject'])) {
|
||||
if (isset(self :: $ldapServer['subDn']['LSobject']) && is_array(self :: $ldapServer['subDn']['LSobject'])) {
|
||||
foreach(self :: $ldapServer['subDn']['LSobject'] as $key => $value) {
|
||||
if ($key==$type) {
|
||||
$result=true;
|
||||
|
|
Loading…
Reference in a new issue