Project

General

Profile

Bug #88134 ยป typo3-core-refindex.diff

T K, 2022-11-04 11:59

View differences:

Classes/Database/ReferenceIndex.php 2022-11-04 12:50:22.799514929 +0100
if (!is_array($relation)) {
continue;
}
$relation['hash'] = md5(implode('///', $relation) . '///' . $this->hashVersion);
$hashRelation = $relation;
if ($tableName == 'sys_category') {
unset($hashRelation['sorting']);
}
$relation['hash'] = md5(implode('///', $hashRelation) . '///' . $this->hashVersion);
// First, check if already indexed and if so, unset that row (so in the end we know which rows to remove!)
if (isset($currentRelationHashes[$relation['hash']])) {
unset($currentRelationHashes[$relation['hash']]);
    (1-1/1)