[TASK] Don't try to create language switch for non-persisted records
The language switch is never rendered for non-persisted records, so the method to create it should not be called in this sitation. Resolves: #92971 Releases: master, 10.4 Change-Id: If6d85a7bbf44a841f08d0331da3e5e0943232953 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/66962 Tested-by:TYPO3com <noreply@typo3.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Please register or sign in to comment