Index: lib/class.tx_dam_tsfe.php =================================================================== --- lib/class.tx_dam_tsfe.php (revision 30067) +++ lib/class.tx_dam_tsfe.php (working copy) @@ -95,14 +95,13 @@ } } - $uid = $this->cObj->data['_LOCALIZED_UID'] ? $this->cObj->data['_LOCALIZED_UID'] : $this->cObj->data['uid']; $refTable = ($conf['refTable'] && is_array($GLOBALS['TCA'][$conf['refTable']])) ? $conf['refTable'] : 'tt_content'; if (isset($GLOBALS['BE_USER']->workspace) && $GLOBALS['BE_USER']->workspace !== 0) { $workspaceRecord = $GLOBALS['TSFE']->sys_page->getWorkspaceVersionOfRecord( $GLOBALS['BE_USER']->workspace, - 'tt_content', + $refTable, $uid, 'uid' );