[kronolith] always cast Horde_Urls to string when it will be serialized
authorMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 22 Jan 2010 23:33:08 +0000 (18:33 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Fri, 22 Jan 2010 23:33:08 +0000 (18:33 -0500)
kronolith/lib/Kronolith.php

index b14c172..2e450da 100644 (file)
@@ -180,7 +180,7 @@ class Kronolith
 
         /* Variables used in core javascript files. */
         $code['conf'] = array(
-            'URI_AJAX' => Horde::getServiceLink('ajax', 'kronolith'),
+            'URI_AJAX' => (string)Horde::getServiceLink('ajax', 'kronolith'),
             'URI_IMG' => $registry->getImageDir() . '/',
             'URI_SNOOZE' => (string)Horde::url($registry->get('webroot', 'horde') . '/services/snooze.php', true, -1),
             'SESSION_ID' => defined('SID') ? SID : '',