From dcfb2e5cc6da65153101ac0e08200c66ef8d02ce Mon Sep 17 00:00:00 2001 From: solarkraft <1337470+solarkraft@users.noreply.github.com> Date: Fri, 22 Oct 2021 18:55:33 +0200 Subject: [PATCH] Show sidebar regardless of page mode --- main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'); ?>