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

PHP Notice in Entry.php line 52 #82

Open
szaqal83 opened this issue Jul 1, 2015 · 1 comment
Open

PHP Notice in Entry.php line 52 #82

szaqal83 opened this issue Jul 1, 2015 · 1 comment

Comments

@szaqal83
Copy link

szaqal83 commented Jul 1, 2015

After calling:

$result = $adldap->group()->members('Gr_QNT_Uzytkownicy', array('cn'));

PHP throws:

Notice: Undefined offset ...

because of wrong condition in for loop in line 51:

for ($i = 0; $i <= $attributes[$key]['count']; $i++) {

condition should be (lower than):

for ($i = 0; $i < $attributes[$key]['count']; $i++) {
@henriquebremenkanp
Copy link

Just ran into it too.

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

No branches or pull requests

2 participants