From 7ce89ccb6e0e294f8243934cd769dcdfdb292b3b Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Fri, 4 Dec 2009 20:42:42 -0500 Subject: [PATCH] Another place to cast Horde::Url to string --- timeobjects/lib/Driver/Weatherdotcom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeobjects/lib/Driver/Weatherdotcom.php b/timeobjects/lib/Driver/Weatherdotcom.php index b80c0817c..02fbee9ff 100644 --- a/timeobjects/lib/Driver/Weatherdotcom.php +++ b/timeobjects/lib/Driver/Weatherdotcom.php @@ -254,7 +254,7 @@ class TimeObjects_Driver_Weatherdotcom extends TimeObjects_Driver 'recurrence' => Horde_Date_Recurrence::RECUR_NONE, 'params' => array(), 'link' => '#', - 'icon' => Horde::url($GLOBALS['registry']->getImageDir('horde') . '/block/weatherdotcom/23x23/' . ($data['day']['conditionIcon'] == '-' ? 'na' : $data['day']['conditionIcon']) . '.png', true, false)); + 'icon' => (string)Horde::url($GLOBALS['registry']->getImageDir('horde') . '/block/weatherdotcom/23x23/' . ($data['day']['conditionIcon'] == '-' ? 'na' : $data['day']['conditionIcon']) . '.png', true, false)); $day->mday++; } -- 2.11.0