[TYPO3-core] FYI: Fixed bug: Fixed bug: Fixed global variables in typo3/backend.php

Dmitry Dulepov [typo3] dmitry at typo3.org
Mon Feb 11 11:57:43 CET 2008


Hi!

Oliver Hader wrote:
> Problem:
> There are several global variables in backend.php without the operator 
> "global" or not used with "$GLOBALS[...]", thus these variables are 
> undefined in that context.
> 
> Solution:
> Use "$GLOBALS[...]".

I think this code was copied from another place. There it was loaded by t3lib_div, which has "global ...." declaration before loading. An interesting bahaviour of t3lib_div :)

-- 
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"


More information about the TYPO3-team-core mailing list