#28745Problem with $GLOBALS['TSFE']->recordRegister
Description
Content that should be rendered twice will not be shown. For a good explanation see #20541.
Although #20541 is closed, I can reproduce the bug with TYPO3 4.5.4.
Quick fix (taken from #20541 and adjusted to new folder structure) is to find the line “$GLOBALS[‘TSFE’]->currentRecord = $originalRec; // Restore” in
/typo3/sysext/cms/tslib/content/class.tslib_content_content.php and
/typo3/sysext/cms/tslib/content/class.tslib_content_records.php
and add the following lines right after that:
if ($originalRec) {
$GLOBALS['TSFE']->recordRegister[$originalRec]--;
}