aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/elgglib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/elgglib.php b/engine/lib/elgglib.php
index 9d1ec732b..ffa76d711 100644
--- a/engine/lib/elgglib.php
+++ b/engine/lib/elgglib.php
@@ -281,7 +281,7 @@
// Load session and configuration variables into $vars
if (isset($_SESSION) /*&& is_array($_SESSION)*/ ) { // $_SESSION will always be an array if it is set
- $vars = array_merge($vars, $_SESSION);
+ $vars += $_SESSION; //= array_merge($vars, $_SESSION);
}
$vars['config'] = array();
if (!empty($CONFIG))