Menu

#186 global variables not working

open
nobody
None
5
2009-10-19
2009-10-19
Anonymous
No

I found a typo in SimpleFileLoader Regarding use of $GLOBALS.
In function _makeFileVariablesGlobal($existing, $new) {
it says:
$_GLOBALS[$global] = $new[$global];
which is wrong.
The correct and working line would be:
$GLOBALS[$global] = $new[$global];

tests with global variables wheren't working in my eclipse plugin until i changed this.

Thanks for fixing.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB