Project

General

Profile

Bug #58951 » 58951-TYPO3_62.diff

Patch for TYPO3 6.2 - Xavier Perseguers, 2014-12-15 16:10

View differences:

typo3/sysext/backend/Classes/Utility/BackendUtility.php
if ($theColConf['internal_type'] === 'db') {
$finalValues = array();
$relationTableName = $theColConf['allowed'];
$explodedValues = GeneralUtility::trimExplode(',', $value, TRUE);
if (!empty($theColConf['MM'])) {
/** @var $dbGroup \TYPO3\CMS\Core\Database\RelationHandler */
$dbGroup = 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 = GeneralUtility::trimExplode(',', $value, TRUE);
}
foreach ($explodedValues as $explodedValue) {
(2-2/2)