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);