Skip to content

Commit

Permalink
[BUGFIX] Allow sys_template records down the rootline
Browse files Browse the repository at this point in the history
Resolves: #37
  • Loading branch information
georgringer authored and lolli42 committed Sep 21, 2023
1 parent 9ea2001 commit be41816
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Classes/TypoScript/AddTypoScriptFromSiteExtensionEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ public function __invoke(AfterTemplatesHaveBeenDeterminedEvent $event): void
// Not a sys_template row before, not an sys_template record on same page. Add our
// fake row and mark we added it.
$newSysTemplateRows[] = $fakeRow;
$newSysTemplateRows[] = $sysTemplateRow;
$fakeRowAdded = true;
}
}
Expand Down

0 comments on commit be41816

Please sign in to comment.