We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If you use groups()->all() on a list of groups and some don't have a description, warnings are raised.
This can be resolved by adding an 'isset' check on line 517 in /src/classes/adLDAPGroups.php, changing this...
if ($includeDescription && strlen($entries[$i]["description"][0]) > 0 ) {
into this...
if ($includeDescription && isset($entries[$i]["description"]) && strlen($entries[$i]["description"][0]) > 0 ) {
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If you use groups()->all() on a list of groups and some don't have a description, warnings are raised.
This can be resolved by adding an 'isset' check on line 517 in /src/classes/adLDAPGroups.php, changing this...
if ($includeDescription && strlen($entries[$i]["description"][0]) > 0 ) {
into this...
if ($includeDescription && isset($entries[$i]["description"]) && strlen($entries[$i]["description"][0]) > 0 ) {
The text was updated successfully, but these errors were encountered: