* Fixed bug #8677: FE login redirect after logout does not work (thanx to Steffen Kamper)
* Fixed bug #7812: cObj CONTENT should allowed on static_* tables (thanx to Georg Ringer)
+ * Fixed bug #6601: fixed mount point issues with the local page tree cache
2008-08-27 Martin Kutschker <masi@typo3.org>
if ($GLOBALS['TYPO3_CONF_VARS']['FE']['enable_mount_pids']) {
- // Set first Page uid:
- if (!$firstPageUid) {
- $firstPageUid = $pageRec['uid'];
- }
-
- if (isset($this->cache_getMountPointInfo[$pageId][$firstPageUid])) {
- return $this->cache_getMountPointInfo[$pageId][$firstPageUid];
+ if (isset($this->cache_getMountPointInfo[$pageId])) {
+ return $this->cache_getMountPointInfo[$pageId];
}
// Get pageRec if not supplied:
$this->versionOL('pages',$pageRec); // Only look for version overlay if page record is not supplied; This assumes that the input record is overlaid with preview version, if any!
}
+ // Set first Page uid:
+ if (!$firstPageUid) {
+ $firstPageUid = $pageRec['uid'];
+ }
// Look for mount pid value plus other required circumstances:
$mount_pid = intval($pageRec['mount_pid']);
}
}
- $this->cache_getMountPointInfo[$pageId][$firstPageUid] = $result;
+ $this->cache_getMountPointInfo[$pageId] = $result;
return $result;
}