diff options
Diffstat (limited to 'modules/gallery/libraries/Admin_View.php')
| -rw-r--r-- | modules/gallery/libraries/Admin_View.php | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/modules/gallery/libraries/Admin_View.php b/modules/gallery/libraries/Admin_View.php index b1bb4ada..74a08c77 100644 --- a/modules/gallery/libraries/Admin_View.php +++ b/modules/gallery/libraries/Admin_View.php @@ -36,12 +36,12 @@ class Admin_View_Core extends Gallery_View {      parent::__construct($name);      $this->theme_name = module::get_var("gallery", "active_admin_theme"); -    if (Identity::active()->admin) { +    if (Session::active_user()->admin) {        $this->theme_name = Input::instance()->get("theme", $this->theme_name);      }      $this->sidebar = "";      $this->set_global("theme", $this); -    $this->set_global("user", Identity::active()); +    $this->set_global("user", Session::active_user());    }    public function admin_menu() { | 
