From: Michael J. Rubinsky Date: Thu, 3 Dec 2009 20:52:56 +0000 (-0500) Subject: Need to cast the return of Horde:url to string here X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=014f0046103558793e4cbd8b59ce9243fa092054;p=horde.git Need to cast the return of Horde:url to string here --- diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 0432bb00f..7fe497b53 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -171,9 +171,9 @@ class Kronolith /* Variables used in core javascript files. */ $code['conf'] = array( - 'URI_AJAX' => Horde::url($kronolith_webroot . '/ajax.php', true, -1), + 'URI_AJAX' => (string)Horde::url($kronolith_webroot . '/ajax.php', true, -1), 'URI_IMG' => $registry->getImageDir() . '/', - 'URI_SNOOZE' => Horde::url($registry->get('webroot', 'horde') . '/services/snooze.php', true, -1), + 'URI_SNOOZE' => (string)Horde::url($registry->get('webroot', 'horde') . '/services/snooze.php', true, -1), 'SESSION_ID' => defined('SID') ? SID : '', 'user' => Horde_Auth::getAuth(), 'prefs_url' => str_replace('&', '&', Horde::getServiceLink('options', 'kronolith')),