[TYPO3-mvc] Wrong sys_language_uid in Extbase Typo3DbBackend

Georg Ringer mail at ringerge.org
Wed Apr 27 14:25:48 CEST 2011


Hey,

is it possible that the sys_language is used wrongly?

Current code:
$languageUid = $GLOBALS['TSFE']->sys_language_uid;
but correct would be:
$languageUid = $GLOBALS['TSFE']->sys_language_content;

in many cases those 2 values are the same but if using
config.sys_language_mode = content_fallback the uid of the fallback 
language is used.

Georg



More information about the TYPO3-project-typo3v4mvc mailing list