diff --git a/inc/template.php b/inc/template.php index 087e2f9df4e8299b718cdbacaf28cdf2ce4d05ac..6566df7ad132984afa424bd24e644b80fe3fcd75 100644 --- a/inc/template.php +++ b/inc/template.php @@ -1759,8 +1759,8 @@ function tpl_classes() { 'dokuwiki', 'mode_'.$ACT, 'tpl_'.$conf['template'], - ($_SERVER['REMOTE_USER']) ? 'loggedIn' : '', - ($INFO['exists']) ? '' : 'notFound', + $_SERVER['REMOTE_USER'] ? 'loggedIn' : '', + $INFO['exists'] ? '' : 'notFound', ($ID == $conf['start']) ? 'home' : '', ); return join(' ', $classes);