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

Steffen Kamper info at sk-typo3.de
Wed Sep 23 12:01:29 CEST 2009


Hi Masi,

Martin Kutschker schrieb:
> 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.
> 

this patch was urgent because old way you can't use
if ($GLOBALS['BE_USER']) {...}

Do you have special vars in mind or classes where this is done?

vg Steffen


More information about the TYPO3-team-core mailing list