Skip to content
Snippets Groups Projects
Commit 972e7922 authored by Jochen Roth's avatar Jochen Roth Committed by Benni Mack
Browse files

[BUGFIX] Skip localize option in language switch

The language switch in FormEngine allows
to either switch to an existing translation
of the current record, or to create such a
translation. This however currently does only
work in case a default language record exists.

Therefore, in case no default record exists,
the "localize" option is skipped for the record,
preventing PHP warnings.

Resolves: #95160
Releases: master
Change-Id: I01211b16fc51c8a18a7f97f5d5c8fa316a34ae49
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70979


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 7650055d
Branches
Tags
No related merge requests found
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