[TYPO3-core] RFC: #847: error in tslib_fe->getFromCache()

Susanne Moog typo3 at susannemoog.de
Fri Jul 25 11:35:18 CEST 2008


Dmitry Dulepov [typo3] wrote:
> Hi!
> 
> Susanne Moog wrote:
>> Problem:
>> There is an isset() missing in tslib_fe->getFromCache():
>>
>> Solution:
>> Insert the isset.
> 
> Why? $this->config['config']['debug'] will evaluate to null if it is not 
> set.
> 

I can only cite the bug report, it says:

"$this->TYPO3_CONF_VARS['FE']['debug'] will always exist, but 
$this->config['config']['debug'] not. "

I just took the proposed fix there and put it into a diff.


More information about the TYPO3-team-core mailing list