Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle another illegal array access in the tl_page DCA (see contao#2794)
Description ----------- | Q | A | -----------------| --- | Fixed issues | Fixes - | Docs PR or issue | - This fixes `Warning: Undefined array key "root"` coming from `DCTable` line 3669. This also hardens `tl_page#pastePage()` that will receive an incomplete `$row` by the call in line 3678 and would otherwise produce `Warning: Undefined array key "pid"`. https://github.com/contao/contao/blob/1873bcc9ea728a08ca8755f6e7251d999d7b316b/core-bundle/src/Resources/contao/drivers/DC_Table.php#L3669-L3690 Commits ------- 7e5b39f handle illegal array access 5ff8b5f simplify expression Co-authored-by: Leo Feyer <github@contao.org>
- Loading branch information