Review main Merged

1254[BUGFIX] fix php fatal error of Upgrade wizard

Michael Buergi CR +2 V +1 Easy +1 −1 updated 06/03/13, 20:49

Commit message

The upgrade wizard of the install tool quits with a php fatal error if
php is configured to use registered globals.

When using registered globals, $GLOBALS['LANG'] may already be
initialized (with some string). The buggy line does not properly
initialize the language object if there is content in $GLOBALS['LANG'].
The solution changes this, so that $GLOBALS['LANG'] has to be an object
to prevent object creation. this line is also found in other places in
the typo3 source.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +1

    Imported before Forger kept the single votes, the next import adds them.

Files 1