Skip to content
Snippets Groups Projects
Commit 172cf1e4 authored by Christian Eßl's avatar Christian Eßl Committed by Daniel Goerz
Browse files

[BUGFIX] Initialize label related properties in EmulatedPageLayoutView

The new StandardContentPreviewRenderer uses an emulated PageLayoutView
for implementing "tt_content_drawItem" hooks. This patch makes sure
both the member variables $CType_labels and $itemLabels are set for
the emulated view as those properties may be accessed in a hook.

Resolves: #90598
Releases: master
Change-Id: Iec7bf473c526546587d5f762e9a5918d05d7a909
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63503


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarDaniel Goerz <daniel.goerz@posteo.de>
parent bb473171
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment