Editor without access to default language can not edit translated content element
If an editor has no access to the default language he cannot edit the translated content elements.
The error message is like:
Call to a member function getLanguageId() on null
This happens in connected mode and free mode in modules "Page" and "List".
[BUGFIX] Edit a translated record without def. language access
Editor without access to default language could not edit a translated
content element, because there was an entry in available languages
for index 0 with null
Reviewed-by: Felix Althaus <email@example.com>
Tested-by: Felix Althaus <firstname.lastname@example.org>
Tested-by: TYPO3com <email@example.com>
Reviewed-by: Benni Mack <firstname.lastname@example.org>
Tested-by: Benni Mack <email@example.com>