diff options
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/views.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php index 9d10862ee..5e0e8f8a2 100644 --- a/engine/lib/views.php +++ b/engine/lib/views.php @@ -256,10 +256,7 @@ function elgg_view($view, $vars = array(), $bypass = false, $debug = false, $vie $vars = array(); } - // Load session and configuration variables into $vars - if (isset($_SESSION)) { - $vars += $_SESSION; - } + $vars['user'] = get_loggedin_user(); $vars['config'] = array(); |