Index: typo3/sysext/cms/tslib/class.tslib_content.php =================================================================== --- typo3/sysext/cms/tslib/class.tslib_content.php (Revision 5297) +++ typo3/sysext/cms/tslib/class.tslib_content.php (Arbeitskopie) @@ -2085,7 +2085,12 @@ if ($conf['locationData']=='HTTP_POST_VARS' && isset($_POST['locationData'])) { $locationData = t3lib_div::_POST('locationData'); } else { - $locationData = $GLOBALS['TSFE']->id.':'.$this->currentRecord; // locationData is [hte page id]:[tablename]:[uid of record]. Indicates on which page the record (from tablename with uid) is shown. Used to check access. + // locationData is [the page id]:[tablename]:[uid of record]. Indicates on which page the record (from tablename with uid) is shown. Used to check access. + if (isset($this->data['_LOCALIZED_UID'])) { + $locationData = $GLOBALS['TSFE']->id . ':' . str_replace($this->data['uid'], $this->data['_LOCALIZED_UID'], $this->currentRecord); + } else { + $locationData = $GLOBALS['TSFE']->id . ':' . $this->currentRecord; + } } $hiddenfields.=''; }