[BUGFIX] Change the label userfunc for FAL records 83/21983/2
authorPatrick Schriner <patrick.schriner@diemedialen.de>
Fri, 5 Jul 2013 18:18:40 +0000 (20:18 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Sat, 6 Jul 2013 08:27:11 +0000 (10:27 +0200)
commitc65383bec8a00b9a08fa01a2b9a20159c2b7b6b9
tree4d33eaddc1055d8e84a1eae5717c85d0f26525dd
parente68cf2010e50f40325e48c99eefc6ec16fbc728d
[BUGFIX] Change the label userfunc for FAL records

The new label_userFunc for sys_file_reference rows results in
"no title" when called by BackendUtility::getRecordTitle. This function
is e.g. called from the workspaces module.

This patch will set the title parameter to the row uid when the
parmeter array does not provide an 'options' 'sys_file' array. This
will result in the uid being displayed which is the old behavior.

Resolves: #49718
Related: #36052
Releases: 6.2
Change-Id: Ib340ca82f5b10faa00815a074545664c2fa67954
Reviewed-on: https://review.typo3.org/21983
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/core/Classes/Resource/Service/UserFileInlineLabelService.php