Small fixes for language handling
Here is the diff of changes we made at Snowflake. I am not the author of the change but I have a task to share fixes with the community, so here it is :)
Updated by rengaw83 over 6 years ago
$GLOBALS['TSFE']->sys_language_content, insteat of
The current usage of
$GLOBALS['TSFE']->config['config']['sys_language_uid'] is also wrong!
Please fix it and use
$GLOBALS['TSFE']->sys_language_content to get the language uid.!