Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ldap: PHP 8.1 Support #271

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

JediKev
Copy link
Contributor

@JediKev JediKev commented Apr 12, 2023

This addresses PHP 8.1 compatibilty issues with the LDAP plugin. Since the LDAP resources were converted to LDAP\Connection, LDAP\Result, and LDAP\ResultEntry objects respectively, the previous is_resource() checks fail. This updates all relevant cases of is_resource() to !== false checks to make LDAP plugin compatible with PHP 8.1.

This addresses PHP 8.1 compatibilty issues with the LDAP plugin. Since
the LDAP resources were converted to LDAP\Connection, LDAP\Result, and
LDAP\ResultEntry objects respectively, the previous `is_resource()`
checks fail. This updates all relevant cases of `is_resource()` to `!==
false` checks to make LDAP plugin compatible with PHP 8.1.
@protich
Copy link
Member

protich commented Apr 12, 2023

Perhaps this is already addressed upstream? Did you see if there's an update we can do?

@JediKev
Copy link
Contributor Author

JediKev commented Apr 12, 2023

Yes, no update we can do.

@JediKev JediKev merged commit 215dced into osTicket:develop Jun 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants