Horde_Url handles &/& for us now.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 2 Jul 2010 19:40:58 +0000 (13:40 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 2 Jul 2010 19:40:58 +0000 (13:40 -0600)
kronolith/lib/Kronolith.php

index 43b51ea..d34f637 100644 (file)
@@ -200,7 +200,7 @@ class Kronolith
                 'exception' => (string)Horde_Themes::img('exception-fff.png'),
             ),
             'user' => $GLOBALS['registry']->convertUsername($GLOBALS['registry']->getAuth(), false),
-            'prefs_url' => str_replace('&amp;', '&', Horde::getServiceLink('options', 'kronolith')->add('ajaxui', 1)),
+            'prefs_url' => Horde::getServiceLink('options', 'kronolith')->setRaw(true)->add('ajaxui', 1),
             'app_urls' => $app_urls,
             'name' => $registry->get('name'),
             'has_tasks' => $has_tasks,