Project

General

Profile

Bug #17450 ยป 5918.patch

Administrator Admin, 2010-11-19 00:24

View differences:

typo3/sysext/cms/tslib/content/class.tslib_content_content.php (working copy)
// Language overlay:
if (is_array($row) && $GLOBALS['TSFE']->sys_language_contentOL) {
$row = $GLOBALS['TSFE']->sys_page->getRecordOverlay($conf['table'], $row, $GLOBALS['TSFE']->sys_language_content, $GLOBALS['TSFE']->sys_language_contentOL);
if ($conf['table'] == 'pages') {
$row = $GLOBALS['TSFE']->sys_page->getPageOverlay($row);
} else {
$row = $GLOBALS['TSFE']->sys_page->getRecordOverlay($conf['table'], $row, $GLOBALS['TSFE']->sys_language_content, $GLOBALS['TSFE']->sys_language_contentOL);
}
}
if (is_array($row)) { // Might be unset in the sys_language_contentOL
    (1-1/1)