[TYPO3-core] FYI: Fixed bug #12042: BE_USER object is cleared with assigning an empty string

Oliver Hader oliver at typo3.org
Wed Sep 23 11:32:08 CEST 2009


The following changes were committed to SVN Trunk (rev. 6036)

Type: Bugfix

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

Branch: Trunk

Problem:
BE_USER object is cleared with assigning an empty string - thus, when
you use isset($BE_USER) and expect a proper object, one will run into a
fatal error since it's just a string.

Solution:
Set the $BE_USER object to NULL if it is not loaded or should be thrown
away.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list