From f727bccef2f2a8a9dfe1fbbc43e3419e769c7de9 Mon Sep 17 00:00:00 2001 From: ben Date: Tue, 3 Mar 2009 16:26:58 +0000 Subject: $vars is once again populated with session data git-svn-id: https://code.elgg.org/elgg/trunk@3041 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/elgglib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engine/lib') 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)) -- cgit v1.2.3