[BUGFIX] Create valid file reference index data
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_file_reference.php
index 31faf2b..4c148e6 100644 (file)
@@ -100,15 +100,9 @@ return array(
                        'exclude' => 0,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.uid_foreign',
                        'config' => array(
                        'exclude' => 0,
                        'label' => 'LLL:EXT:lang/locallang_tca.xlf:sys_file_reference.uid_foreign',
                        'config' => array(
-                               'type' => 'select',
-                               'items' => array(
-                                       array('', 0)
-                               ),
-                               'foreign_table' => 'tt_content',
-                               'foreign_table_where' => 'ORDER BY tt_content.uid',
-                               'size' => 1,
-                               'minitems' => 0,
-                               'maxitems' => 1
+                               'type' => 'input',
+                               'size' => '10',
+                               'eval' => 'int'
                        )
                ),
                'tablenames' => array(
                        )
                ),
                'tablenames' => array(