Skip to content
Snippets Groups Projects
Commit 031920a2 authored by Oliver Bartsch's avatar Oliver Bartsch
Browse files

[BUGFIX] Use correct language constraint in PageLayoutController

When calculating the number of hidden elements for the
currently displayed language columns in the page module,
the corresponding language constraint is now properly set.

Considering more then one language is now only done,
in case language mode with a language > 0 is selected.

Additionally, L=-1 is now properly taken into account.

Some further cleanup of the method is done. The actually
defined field names of corresponding enable columns are
now used instead of the static ones.

Resolves: #99720
Releases: main, 11.5
Change-Id: I751ea0d2f2de88d5eb208215bb81543fc01ca32b
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/77617


Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarFabien Udriot <fudriot@omic.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
parent 6ad764a4
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