Cast to string.
authorJan Schneider <jan@horde.org>
Wed, 28 Jul 2010 15:58:28 +0000 (17:58 +0200)
committerJan Schneider <jan@horde.org>
Wed, 28 Jul 2010 15:58:28 +0000 (17:58 +0200)
kronolith/lib/Kronolith.php

index 59296ab..0056a26 100644 (file)
@@ -139,7 +139,7 @@ class Kronolith
                 'exception' => (string)Horde_Themes::img('exception-fff.png'),
             ),
             'user' => $GLOBALS['registry']->convertUsername($GLOBALS['registry']->getAuth(), false),
-            'prefs_url' => Horde::getServiceLink('options', 'kronolith')->setRaw(true)->add('ajaxui', 1),
+            'prefs_url' => (string)Horde::getServiceLink('options', 'kronolith')->setRaw(true)->add('ajaxui', 1),
             'app_urls' => $app_urls,
             'name' => $registry->get('name'),
             'has_tasks' => $has_tasks,