Commit 96fabbf0 authored by Mathias Schreiber's avatar Mathias Schreiber Committed by Christian Kuhn
Browse files

[BUGFIX] Adjust renderForeignRecordHeader to array

The FormDataProvider refactoring changed DB values
from strings to arrays when used with select fields.
The code usage in InlineRecordContainer is adopted to
use the new data structure.

Resolves: #70951
Releases: master
Change-Id: Id992232c36521622a06fbd8892e66398dcede35c

Reviewed-by: Sebastian Fischer's avatarSebastian Fischer <>
Tested-by: Sebastian Fischer's avatarSebastian Fischer <>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <>
Tested-by: Christian Kuhn's avatarChristian Kuhn <>
parent edbc1d93
......@@ -345,7 +345,7 @@ class InlineRecordContainer extends AbstractContainer
$recTemp = BackendUtility::getRecordWSOL($itemParts[0], $itemParts[1]);
$recTitle = BackendUtility::getRecordTitle($itemParts[0], $recTemp, false);
} else {
$recTitle = BackendUtility::getProcessedValueExtra($foreign_table, $titleCol, $rec[$titleCol], 0, 0, false);
$recTitle = BackendUtility::getProcessedValueExtra($foreign_table, $titleCol, $rec[$titleCol][0], 0, 0, false);
$recTitle = BackendUtility::getRecordTitlePrep($recTitle);
if (trim($recTitle) === '') {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment