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-on: https://review.typo3.org/44254

Reviewed-by: Sebastian Fischer's avatarSebastian Fischer <typo3@evoweb.de>
Tested-by: Sebastian Fischer's avatarSebastian Fischer <typo3@evoweb.de>
Reviewed-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn's avatarChristian Kuhn <lolli@schwarzbu.ch>
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