fix of #509, related to php 5.3

This commit is contained in:
Maryana Rozhankivska 2014-02-27 18:12:43 +02:00
parent 36a733af8d
commit decb9a5814

View file

@ -366,7 +366,7 @@ class Poche
// Saving and clearing context // Saving and clearing context
$REAL = array(); $REAL = array();
foreach( $GLOBALS as $key => $value ) { foreach( $GLOBALS as $key => $value ) {
if( $key != "GLOBALS" && $key != "_SESSION" ) { if( $key != 'GLOBALS' && $key != '_SESSION' && $key != 'HTTP_SESSION_VARS' ) {
$GLOBALS[$key] = array(); $GLOBALS[$key] = array();
$REAL[$key] = $value; $REAL[$key] = $value;
} }