Skip to content
Snippets Groups Projects
Commit ea45fb45 authored by Nikita Hovratov's avatar Nikita Hovratov
Browse files

[BUGFIX] Fix fallback icons for custom page types

Since the introduction of customizable page type icons,
the fallback icons did no longer work. Only the icon
and variations for "contentFromPid" worked. The reason
is, that these icons are prefixed with "page" while the
other ones are prefixed with the doktype ("1").

This is fixed now by providing an optional argument
for the getRecordTypeForPageType method, which takes
the type name as parameter. The default is "1".

Resolves: #101379
Related: #90042
Releases: main, 12.4, 11.5
Change-Id: Ia4379899642ad477026dd73b1ac0c22b918a1629
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/80059


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarNikita Hovratov <nikita.h@live.de>
Reviewed-by: default avatarNikita Hovratov <nikita.h@live.de>
parent 77433946
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