Feature #41346 » class.t3lib_tcemain.php.patch
t3lib/class.t3lib_tcemain.php 2012-09-02 16:51:00.000000000 +0200 → t3lib/class.t3lib_tcemain.php 2012-09-25 11:47:18.813593027 +0200 | ||
---|---|---|
$valueArray = $dbAnalysis->getValueArray();
|
||
// Checking that the number of items is correct:
|
||
$valueArray = $this->checkValue_checkMax($tcaFieldConf, $valueArray);
|
||
// store updated sort order
|
||
if ($tcaFieldConf['foreign_sortby'] && $tcaFieldConf['foreign_table']) {
|
||
foreach ($valueArray as $sorting => $uid) {
|
||
$this->updateDB($tcaFieldConf['foreign_table'], $uid, array($tcaFieldConf['foreign_sortby'] => $sorting));
|
||
}
|
||
}
|
||
// If a valid translation of the 'keep' mode is active, update relations in the original(!) record:
|
||
if ($keepTranslation) {
|
||
$this->updateDB($table, $transOrigPointer, array($field => implode(',', $valueArray)));
|