From cafb23f8f0dd1f784cf5a140b3ef818ee18bf291 Mon Sep 17 00:00:00 2001 From: Philipp Date: Fri, 21 Oct 2022 09:12:24 +0200 Subject: [PATCH] Reduce parentheses --- src/Content/Nav.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Content/Nav.php b/src/Content/Nav.php index 06e6895d9..b80fb2d45 100644 --- a/src/Content/Nav.php +++ b/src/Content/Nav.php @@ -210,7 +210,7 @@ class Nav $homelink = DI::session()->get('visitor_home', ''); } - if ((DI::args()->getModuleName() != 'home') && (! (DI::userSession()->getLocalUserId()))) { + if (DI::args()->getModuleName() != 'home' && ! DI::userSession()->getLocalUserId()) { $nav['home'] = [$homelink, DI::l10n()->t('Home'), '', DI::l10n()->t('Home Page')]; }