osTicket / osTicket-plugins

Core plugins for osTicket (v1.8+)
GNU General Public License v2.0
148 stars 162 forks source link

ldap: No current() Fatal Error #260

Closed JediKev closed 1 year ago

JediKev commented 1 year ago

This addresses an issue where msad schemas can return false when calling current() on an LDAP search result. We do not check if current() is false before attempting to call dn() on it so this adds a check to see if current() returns a value before using it.