aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-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 2ae431790..9d1ec732b 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
- array_merge($vars, $_SESSION);
+ $vars = array_merge($vars, $_SESSION);
}
$vars['config'] = array();
if (!empty($CONFIG))