[TYPO3-core] RFC #14087 : Feature: Allow nested GET-params in config.linkVars

Benjamin Mack benni at typo3.org
Tue Apr 13 09:18:05 CEST 2010


Hey,

On 13.04.10 09:05, Dmitry Dulepov wrote:
> I did not try the patch but I am a little afraid of one line:
>
> +			$GLOBALS['TSFE']->newCObj();
>
> This would override existing $this->cObj if that was set earlier. So any data in that cObj will be lost. Wouldn't it be better to make a local instance?
I noticed the exact same line. Please use a local cObject (or check if 
TSFE already has one) to call getGlobal().

Benni.


More information about the TYPO3-team-core mailing list