Fix parentheses (Bug #9356).
authorJan Schneider <jan@horde.org>
Tue, 2 Nov 2010 16:18:26 +0000 (17:18 +0100)
committerJan Schneider <jan@horde.org>
Tue, 2 Nov 2010 17:18:29 +0000 (18:18 +0100)
framework/Core/lib/Horde/Core/Sidebar.php

index 5681bc7..6071ee0 100644 (file)
@@ -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'])) {