Bug #23750 ยป 16017_tcemain_history.patch
t3lib/class.t3lib_tcemain.php (Arbeitskopie) | ||
---|---|---|
$newFiles = implode(',', $dbAnalysis->getValueArray());
|
||
list(,,$recFieldName) = explode(':', $recFID);
|
||
if ($currentFilesForHistory != $newFiles) {
|
||
$this->mmHistoryRecords[$currentTable . ':' . $id]['oldRecord'][$recFieldName] = $currentFilesForHistory;
|
||
$this->mmHistoryRecords[$currentTable . ':' . $id]['newRecord'][$recFieldName] = $newFiles;
|
||
$this->mmHistoryRecords[$table . ':' . $id]['oldRecord'][$recFieldName] = $currentFilesForHistory;
|
||
$this->mmHistoryRecords[$table . ':' . $id]['newRecord'][$recFieldName] = $newFiles;
|
||
} else {
|
||
$this->mmHistoryRecords[$currentTable . ':' . $id]['oldRecord'][$currentField] = '';
|
||
$this->mmHistoryRecords[$currentTable . ':' . $id]['newRecord'][$currentField] = '';
|
||
$this->mmHistoryRecords[$table . ':' . $id]['oldRecord'][$currentField] = '';
|
||
$this->mmHistoryRecords[$table . ':' . $id]['newRecord'][$currentField] = '';
|
||
}
|
||
} else {
|
||
$this->dbAnalysisStore[] = array($dbAnalysis, $tcaFieldConf['MM'], $id, 0); // This will be traversed later to execute the actions
|