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

Nesting level too deep – recursive dependency #20

Open
foxdie opened this issue Oct 3, 2012 · 0 comments
Open

Nesting level too deep – recursive dependency #20

foxdie opened this issue Oct 3, 2012 · 0 comments

Comments

@foxdie
Copy link

foxdie commented Oct 3, 2012

hi,

Thanks for your job and sorry for my bad english.
A fatal error is thrown when you try to move a child node before or after one of its siblings because they both have the same parent.

Note that It only occurs with php > 5.1 ( i think php 5.2 has changed the way of comparing 2 objects )
You can fix it by replacing :

if( $node == $this )

with :

if( $node === $this )

in the NodeWrapper class.

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