correctly fix link
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 3 Jul 2010 22:42:02 +0000 (18:42 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 3 Jul 2010 22:42:02 +0000 (18:42 -0400)
horde/services/portal/sidebar.php

index 34c49aa..7c0dc55 100644 (file)
@@ -121,6 +121,7 @@ function buildMenu()
 
         try {
             $list = $registry->callByPackage('horde', 'admin_list');
+            var_dump($list);
             foreach ($list as $method => $vals) {
                 $name = Horde::stripAccessKey($vals['name']);
                 $icon = isset($vals['icon'])
@@ -132,7 +133,7 @@ function buildMenu()
                     'icon' => (string)$icon,
                     'status' => 'active',
                     'menu_parent' => 'administration',
-                    'url' => Horde::url($registry->applicationWebPath($vals['link']), 'horde'),
+                    'url' => Horde::url($registry->applicationWebPath($vals['link'], 'horde')),
                     );
             }
         } catch (Horde_Exception $e) {}