[BUGFIX] FAL: Fix inline labels for fields of type group
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / Service / UserFileInlineLabelService.php
index a263fe6..bb84d83 100644 (file)
@@ -41,7 +41,9 @@ class UserFileInlineLabelService
             return;
         }
 
-        $fileInfo = BackendUtility::splitTable_Uid($params['row']['uid_local'], 2);
+        // In case of a group field uid_local has the table_uid|label syntax
+        $tableAndUid = array_shift(GeneralUtility::trimExplode('|', $params['row']['uid_local'], true, 2));
+        $fileInfo = BackendUtility::splitTable_Uid($tableAndUid);
         $fileRecord = BackendUtility::getRecord($fileInfo[0], $fileInfo[1]);
 
         // Configuration