summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-03-16 07:59:28 +0000
committerBharat Mediratta <bharat@menalto.com>2009-03-16 07:59:28 +0000
commitf12f53574923741fea3c518894ad130aa96e6399 (patch)
treea9e9e9c55fe20ee70301c2be5a23f48ca2361b1a /core
parent144b8f4f474ac753105e60b1354de856128dc61e (diff)
Provide an empty sidebar by default
Diffstat (limited to 'core')
-rw-r--r--core/libraries/Admin_View.php3
1 files changed, 2 insertions, 1 deletions
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());
}