From 014f0046103558793e4cbd8b59ce9243fa092054 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Thu, 3 Dec 2009 15:52:56 -0500 Subject: [PATCH] Need to cast the return of Horde:url to string here --- kronolith/lib/Kronolith.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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')), -- 2.11.0