[BUGFIX] sys_file_reference uses filename instead of title
authorSteffen Ritter <info@rs-websystems.de>
Thu, 6 Sep 2012 13:21:02 +0000 (15:21 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Thu, 6 Sep 2012 13:24:36 +0000 (15:24 +0200)
When using a file a sys_file_reference entry is created.
The fields of that record are pre-filled with values from
the original file.
The title field of the reference currently does not refer
to the title, but to the file-name.

Change-Id: I632e55312af99e31d6e02b35883131411eb4dced
Fixes: #40675
Releases: 6.0
Reviewed-on: http://review.typo3.org/14416
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
t3lib/stddb/tca_sys_file_reference.php

index 1b61d03..b8f2bf6 100644 (file)
@@ -92,7 +92,7 @@ $TCA['sys_file_reference'] = array(
                        'config' => array(
                                'type' => 'input',
                                'size' => '22',
-                               'placeholder' => '__row|uid_local|name'
+                               'placeholder' => '__row|uid_local|title'
                        )
                ),
                'link' => array(