Created
December 9, 2020 14:22
-
-
Save smichaelsen/bde0aab6590e0a3fdf0bef153c39a557 to your computer and use it in GitHub Desktop.
Put this in your sitepackage Configuration/TCA/Overrides/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// this mitigates the core bug #92863 and is taken from https://github.com/TYPO3/TYPO3.CMS/commit/db0d7549647ed5326f4affc84b907dd0e397c844 | |
// this file can be removed entirely after updating to TYPO3 10.4.11 | |
$GLOBALS['TCA']['sys_file_metadata']['columns']['l10n_parent']['config'] = [ | |
'type' => 'group', | |
'internal_type' => 'db', | |
'allowed' => 'sys_file_metadata', | |
'size' => 1, | |
'maxitems' => 1, | |
'minitems' => 0, | |
]; | |
$GLOBALS['TCA']['sys_file_reference']['columns']['l10n_parent']['config'] = [ | |
'type' => 'group', | |
'internal_type' => 'db', | |
'allowed' => 'sys_file_reference', | |
'size' => 1, | |
'maxitems' => 1, | |
'minitems' => 0, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works like a charme