From f12f53574923741fea3c518894ad130aa96e6399 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 16 Mar 2009 07:59:28 +0000 Subject: Provide an empty sidebar by default --- core/libraries/Admin_View.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/libraries/Admin_View.php b/core/libraries/Admin_View.php index e15c0d68..9ca585d2 100644 --- a/core/libraries/Admin_View.php +++ b/core/libraries/Admin_View.php @@ -34,7 +34,8 @@ class Admin_View_Core extends View { $this->theme_name = module::get_var("core", "active_admin_theme"); if (user::active()->admin) { $this->theme_name = Input::instance()->get("theme", $this->theme_name); - } + } + $this->sidebar = ""; $this->set_global('theme', $this); $this->set_global('user', user::active()); } -- cgit v1.2.3