[TYPO3-dev] $GLOBALS['LANG']->sL() vs. $GLOBALS['TSFE']->sL()

Elmar Hinz elmar.DOT.hinz at team.MINUS.red.DOT.net
Sat Aug 12 16:17:24 CEST 2006


Hello,

while I was able in TYPO3 3.7 to use $GOBALS['LANG']->sL in the Frontend of
TYPO3 3.7.0 I get an error message in 4.0.0 and 4.0.1:

"Call to a member function sL() on a non-object in ..."

I need to use $GOBALS['TSFE']->sL now, which doesn't seem so logical to me
and breaks older Plugins.

Is it a bug or a feature?


Regards


Elmar










More information about the TYPO3-dev mailing list