[BUGFIX] Fix foreign_table for l10n_parent in sys_file_metadata 01/28501/2
authorMarc Bastian Heinrichs <typo3@mbh-software.de>
Tue, 18 Mar 2014 16:40:21 +0000 (17:40 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Tue, 18 Mar 2014 19:17:57 +0000 (20:17 +0100)
Instead of sys_file_metadata sys_file_reference was configured.

Resolves: #57046
Releases: 6.2
Change-Id: I1194012cbacb0415993672338d6ac6ee0a515dc1
Reviewed-on: https://review.typo3.org/28501
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Configuration/TCA/sys_file_metadata.php

index 9d5bf7a..4a4e663 100644 (file)
@@ -51,8 +51,8 @@ return array(
                                'items' => array(
                                        array('', 0)
                                ),
-                               'foreign_table' => 'sys_file_reference',
-                               'foreign_table_where' => 'AND sys_file_reference.uid=###REC_FIELD_l10n_parent### AND sys_file_reference.sys_language_uid IN (-1,0)'
+                               'foreign_table' => 'sys_file_metadata',
+                               'foreign_table_where' => 'AND sys_file_metadata.uid=###REC_FIELD_l10n_parent### AND sys_file_metadata.sys_language_uid IN (-1,0)'
                        )
                ),
                'l10n_diffsource' => array(