[TYPO3-core] RFC #17725 Cleanup: Wrong check for FE / BE context in class.t3lib_tstemplate.php

Rens Admiraal renst3 at rensnel.nl
Wed Feb 23 19:43:36 CET 2011


Hi,

this is a SVN patch request.

Type: Cleanup / no brainer

Bugtracker references:
http://bugs.typo3.org/view.php?id=17725

Branches: 4.5.1

I ran into a wrong check for the frontend / backend context in 
class.t3lib_tstemplate.php. It uses:
	if (is_object($GLOBALS['TSFE']))

as check instead of:
	if (TYPO3_MODE == 'FE')


Greetz,
Rens
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 17725.diff
Type: text/x-diff
Size: 616 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110223/998e6027/attachment.diff>


More information about the TYPO3-team-core mailing list