Project

General

Profile

Bug #18662 » 0008191_v3_4-3.patch

Administrator Admin, 2010-02-27 15:56

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() {
foreach ($this->dbAnalysisStore as $action) {
$id = t3lib_BEfunc::wsMapId($action[4], $this->substNEWwithIDs[$action[2]]);
$id = t3lib_BEfunc::wsMapId(
$action[4],
(t3lib_div::testInt($action[2]) ? $action[2] : $this->substNEWwithIDs[$action[2]])
);
if ($id) {
$action[0]->writeMM($action[1], $id, $action[3]);
}
(5-5/6)