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

Undefined offset Objects\Ldap\Entry.php #104

Open
ghost opened this issue Jan 25, 2016 · 1 comment
Open

Undefined offset Objects\Ldap\Entry.php #104

ghost opened this issue Jan 25, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Jan 25, 2016

Hello,

I receive an undefined offset in the file "Objects\Ldap\Entry.php" at line 52.

When i look into this i see that there's a for loop counting from 0 until 'count'. When count is 4, it wil continue to 4 but should continue to 3 since the array starts with 0.

So line 51 is now:

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

But should be:

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

Hi,

I had the same problem . I expect them to fix it soon.

Although they do not update for more than one year.

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

1 participant