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

LdapConnection: Access array key only if its set #5206

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sukhwinder33445
Copy link
Contributor

@sukhwinder33445 sukhwinder33445 commented Apr 3, 2024

fixes #5202

@sukhwinder33445 sukhwinder33445 self-assigned this Apr 3, 2024
@cla-bot cla-bot bot added the cla/signed label Apr 3, 2024
@sukhwinder33445 sukhwinder33445 added bug Something isn't working and removed cla/signed labels Apr 3, 2024
@sukhwinder33445 sukhwinder33445 added this to the 2.12.2 milestone Apr 3, 2024
@sukhwinder33445
Copy link
Contributor Author

Phpstan errors are fixen in #5201.

The key `$controlsReturned[LDAP_CONTROL_PAGEDRESULTS]` can be undefined
when `$controls[LDAP_CONTROL_PAGEDRESULTS]['iscritical']` is set to false.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cla/signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

LdapConnection.php - Undefined array key LDAP_CONTROL_PAGEDRESULTS
1 participant