Bug #58951 » 58951-TYPO3_61.diff
typo3/sysext/backend/Classes/Utility/BackendUtility.php | ||
---|---|---|
if ($theColConf['internal_type'] === 'db') {
|
||
$finalValues = array();
|
||
$relationTableName = $theColConf['allowed'];
|
||
$explodedValues = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $value, TRUE);
|
||
if (!empty($theColConf['MM'])) {
|
||
/** @var $dbGroup \TYPO3\CMS\Core\Database\RelationHandler */
|
||
$dbGroup = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\Database\\RelationHandler');
|
||
$dbGroup->start($value, $theColConf['foreign_table'], $theColConf['MM'], $uid, $table, $theColConf);
|
||
$explodedValues = $dbGroup->tableArray[$theColConf['foreign_table']];
|
||
} else {
|
||
$explodedValues = \TYPO3\CMS\Core\Utility\GeneralUtility::trimExplode(',', $value, TRUE);
|
||
}
|
||
foreach ($explodedValues as $explodedValue) {
|
||