Closed jpmschuler closed 7 years ago
Looking at the code, the check "if (!$page) break;" should go above the overlay piece, that would make sense. I guess this can happen when the pagepath goes above the root, which would happen if you didn't have a root template or page marked as siteroot.
The error ame up in typo3 protocol as an error after switch to 7LTS i think using 1.1.3. Still present in 1.1.4:
It's about the array_merge-line in the snipped below. As a solution I'd suggest moving the
if (!$page) break;
before the if ($langId) which shouldn't be a problem at all, as $page should have at least a uid, and the lang overlay should just add/override stuff und thus $page should be empty afterwards if it was set before.Could create a simple pull request, but wondered 2 things: