Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #3046 Fixed: Endless loop if more than one parent without the mac…
…ro exists (nea) This PR was squashed before being merged into the 2.x branch (closes #3046). Discussion ---------- Fixed: Endless loop if more than one parent without the macro exists Hi @fabpot I made a quick fix for the parent macro method call fix you did for me in #3042. Your code works in case the direct parent has the macro. But if there is a longer hierarchy and the looked for macro is in a parent template +1 it runs into an endless loop because the `->getParent()` method is always called on `$template` but never the newer `$parent`. Best Commits ------- 4497083 Fixed: Endless loop if more than one parent without the macro exists
- Loading branch information