Project

General

Profile

Bug #18662 » 0008191_v4_4-2.patch

Administrator Admin, 2010-02-27 16:10

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
// update record in intermediate table (sorting & pointer uid to parent record)
$dbAnalysis->writeForeignField($tcaFieldConf, $id, 0, $skipSorting);
$newValue = ($keepTranslation ? 0 : $dbAnalysis->countItems(false));
// IRRE with MM relation:
} else if ($this->getInlineFieldType($tcaFieldConf) == 'mm') {
// in order to fully support all the MM stuff, directly call checkValue_group_select_processDBdata instead of repeating the needed code here
$valueArray = $this->checkValue_group_select_processDBdata($valueArray, $tcaFieldConf, $id, $status, 'select', $table, $field);
$newValue = ($keepTranslation ? 0 : $valueArray[0]);
// IRRE with comma separated values:
} else {
$valueArray = $dbAnalysis->getValueArray();
......
function dbAnalysisStoreExec() {
reset($this->dbAnalysisStore);
while(list($k,$v)=each($this->dbAnalysisStore)) {
$id = t3lib_BEfunc::wsMapId($v[4],$this->substNEWwithIDs[$v[2]]);
$id = t3lib_BEfunc::wsMapId(
$v[4],
(t3lib_div::testInt($v[2]) ? $v[2] : $this->substNEWwithIDs[$v[2]])
);
if ($id) {
$v[2] = $id;
$v[0]->writeMM($v[1],$v[2],$v[3]);
(6-6/6)