From: Jan Schneider Date: Tue, 2 Nov 2010 16:18:26 +0000 (+0100) Subject: Fix parentheses (Bug #9356). X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=9fd9e5ba21cd7cdf526ea95848e6d785d3a76626;p=horde.git Fix parentheses (Bug #9356). --- 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'])) {