Bug #16940 » tslib_content_getClosestMPvalueForPage.patch
class.tslib_content.php (working copy) | ||
---|---|---|
foreach($tCR_rootline as $tCR_data) {
|
||
foreach($inverseTmplRootline as $rlKey => $invTmplRLRec) {
|
||
// If content of the Mount Root is mounting as well (overlaymode):
|
||
// Links to this page have to stay within the branch!
|
||
if ($invTmplRLRec['_MOUNT_OL'] && $GLOBALS['TYPO3_CONF_VARS']['FE']['enable_mount_root_overlay']) {
|
||
$startMPaccu = TRUE;
|
||
}
|
||
// Accumulate MP data:
|
||
if ($startMPaccu && $invTmplRLRec['_MP_PARAM']) {
|
||
$rl_mpArray[] = $invTmplRLRec['_MP_PARAM'];
|