summaryrefslogtreecommitdiff
path: root/core/libraries/Theme_View.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/libraries/Theme_View.php')
-rw-r--r--core/libraries/Theme_View.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libraries/Theme_View.php b/core/libraries/Theme_View.php
index 8736e87d..51d7c545 100644
--- a/core/libraries/Theme_View.php
+++ b/core/libraries/Theme_View.php
@@ -33,7 +33,7 @@ class Theme_View_Core extends View {
parent::__construct($name);
$this->theme_name = $theme_name;
$this->set_global('theme', $this);
- $this->set_global('user', Session::instance()->get('user', null));
+ $this->set_global('user', user::active());
$this->set_global("page_type", $page_type);
}