diff --git a/main.php b/main.php index 01f8202..c67c9e8 100644 --- a/main.php +++ b/main.php @@ -6,7 +6,7 @@ @require_once dirname(__FILE__) . '/tpl_functions.php'; /* include hook for template functions */ $showTools = !tpl_getConf('hideTools') || (tpl_getConf('hideTools') && !empty($_SERVER['REMOTE_USER'])); -$showSidebar = page_findnearest($conf['sidebar']) && ($ACT == 'show'); +$showSidebar = page_findnearest($conf['sidebar']); $showIcon = tpl_getConf('showIcon'); $showBackground = tpl_getConf('headerBackgroundImage'); ?>