Commit baff766e authored by Torben Hansen's avatar Torben Hansen Committed by Benni Mack
Browse files

[BUGFIX] Render plugin content element only if a plugin is selected

This patch ensures, that the plugin content element only calls the
f:cObject viewHelper, when a plugin is selected in the list of
available plugins.

Resolves: #92413
Releases: master, 10.4, 9.5
Change-Id: I0fc8de43d5f72b6e113a00ed224c888da1981737
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65863

Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
parent 244c61ab
......@@ -2,7 +2,9 @@
<f:layout name="Default" />
<f:section name="Main">
<f:cObject typoscriptObjectPath="tt_content.list.20.{data.list_type}" data="{data}" table="tt_content" />
<f:if condition="{data.list_type}">
<f:cObject typoscriptObjectPath="tt_content.list.20.{data.list_type}" data="{data}" table="tt_content" />
</f:if>
</f:section>
</html>
Supports Markdown
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