Thread:Project:Support desk/PHP Notice: Undefined offset: 0 in /srv/www/vhosts/wiki/extensions/LdapAuthentication.php on line 1208

I see this error in my error log file when doing a ldap login on my local wiki:

PHP Notice: Undefined offset:  0 in /srv/www/vhosts/wiki/extensions/LdapAuthentication.php on line 1208, referer: http://mywiki.mydomain:82/index.php?title=Special:UserLogin&returnto=Main_Page

Although the error is showd, it seems that login works properly. But just out of curiosity I think it's better to solve the problem.

Any suggestions would be really appreciated.

Thanks