From 39f00629c3ce90b643728a3afa5ee7c74faa481c Mon Sep 17 00:00:00 2001
From: Anika Henke <anika@selfthinker.org>
Date: Thu, 1 Aug 2013 18:54:02 +0100
Subject: [PATCH] improved coding style on tpl_classes()

---
 inc/template.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/inc/template.php b/inc/template.php
index 087e2f9df..6566df7ad 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);
-- 
GitLab