[BUGFIX] Add maxitems for field "metadata" in TCA
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Configuration / TCA / sys_file.php
index 69a431c..b00cb04 100644 (file)
@@ -133,7 +133,8 @@ return array(
                                'foreign_table' => 'sys_file_metadata',
                                'foreign_field' => 'file',
                                'size' => 1,
-                               'minitems' => 1
+                               'minitems' => 1,
+                               'maxitems' => 1,
                        )
                )
        ),