KunstmaanLegacy / KunstmaanAdminNodeBundle

THIS REPO IS DEPRECATED: see KunstmaanNodeBundle. The KunstmaanAdminNodeBundle for Symfony 2 is part of the bundles we use to build custom and flexible applications at Kunstmaan. You have to install this bundle in order to work with nodes and pagetypes.
http://kunstmaan.github.com/KunstmaanAdminNodeBundle
MIT License
2 stars 0 forks source link

If parent is null, parent should be null #35

Closed kimausloos closed 12 years ago

kimausloos commented 12 years ago

I've changed the getNodeTranslationForSlugPart method so when you supply a parent with value NULL it will search for slugs with parent null.

Previously it would return any node with the correct slug, even if the slug was a child.

Please check the code and keep in mind this might break previous implementations.