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

Martin Kutschker masi-no at spam-typo3.org
Wed Sep 23 11:55:55 CEST 2009


Oliver Hader schrieb:
> 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.

Note: nearly all over the Core an emptry string is used for "not
set"/"uninitialized" arrays, object and perhaps even integers and real.
A cleanup to change this woud be nice.

Masi


More information about the TYPO3-team-core mailing list