From 9fd9e5ba21cd7cdf526ea95848e6d785d3a76626 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Tue, 2 Nov 2010 17:18:26 +0100 Subject: [PATCH] Fix parentheses (Bug #9356). --- framework/Core/lib/Horde/Core/Sidebar.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/Core/lib/Horde/Core/Sidebar.php b/framework/Core/lib/Horde/Core/Sidebar.php index 5681bc724..6071ee0f9 100644 --- a/framework/Core/lib/Horde/Core/Sidebar.php +++ b/framework/Core/lib/Horde/Core/Sidebar.php @@ -34,8 +34,8 @@ class Horde_Core_Sidebar * applications except those marked 'inactive'. */ if ($isAdmin || ($params['status'] == 'heading') || - (in_array($params['status'], array('active', 'sidebar') && - $registry->hasPermission($app, Horde_Perms::SHOW)))) { + (in_array($params['status'], array('active', 'sidebar')) && + $registry->hasPermission($app, Horde_Perms::SHOW))) { $menu[$app] = $params; if (isset($params['menu_parent'])) { -- 2.11.0