1
0
Fork 0
mirror of https://gitlab.easter-eggs.com/ee/ldapsaisie.git synced 2025-03-26 05:41:37 +01:00

LSauthMethod :: Fixed notice PHP

This commit is contained in:
Benjamin Renard 2010-11-26 14:28:04 +01:00
parent 8ec11500c0
commit 1ea9403083

View file

@ -60,7 +60,7 @@ class LSauthMethod {
$result = $authobject -> searchObject(
$this -> authData['username'],
LSsession :: getTopDn(),
LSsession :: $ldapServer['authObjectFilter']
(isset(LSsession :: $ldapServer['authObjectFilter'])?LSsession :: $ldapServer['authObjectFilter']:NULL)
);
$nbresult=count($result);